mitmel / SimpleContentProvider

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

Insert ignore issue #27

Open westito opened 11 years ago

westito commented 11 years ago

When i'm using "insert ignore" or "unique on conflict ignore" the insert throws exception, because of the rowid = -1 in GenericDBHelper at line ~ 120 (insertDir). The solution is simple: remove throwing and simple return null.