mitmel / SimpleContentProvider

A simple ContentProvider for Android
http://mobile.mit.edu/
Other
79 stars 32 forks source link

defaultValue = DatetimeColumn.NOW_IN_MILLISECONDS is not atomic #13

Open xxv opened 11 years ago

xxv commented 11 years ago

using defaultValue = DatetimeColumn.NOW_IN_MILLISECONDS as well as flags = DatetimeColumn.FLAG_AUTO_NOW doesn't yield atomic setting of the column values.

Test 2 failed with created / modified being off by 1ms. Ideally these should be exactly the same.