SwiftData icon indicating copy to clipboard operation
SwiftData copied to clipboard

Fix the issue that can not read Int64

Open zwang opened this issue 9 years ago • 3 comments

Int64 can be saved to database, but if the Int64 is bigger than Int32.Max, when read that number back from database, it is an unexpected value.

zwang avatar Aug 11 '15 23:08 zwang

Hi Regis, Thank you for pointing out. After a second thought, I think my solution is not 100%, especially for 32bit device. So I just made another commit to make sure it works both on 32/64 bits device/simulator.

zwang avatar Aug 12 '15 18:08 zwang

I tested your new commit to both 32 bits and 64 bits simulators. It seems to be working as expected. Tks.

RegisStGelais avatar Aug 12 '15 20:08 RegisStGelais

Great. Thank you for all the feedback! :+1:

zwang avatar Aug 12 '15 20:08 zwang