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
1.4m articles
1.4m replys
5 comments
57.0k users