I am running code from this tutorial sqlite database iOS app tutorial . But it is giving sql error on inserting record
DB Error: database disk image is malformed... Could not execute the query.
How do I fix that error?
You should use this command:
yum clean dbcache
or
mv /var/lib/rpm/__db* /tmp rpm --rebuilddb
2.1m questions
2.1m answers
60 comments
57.0k users