Reputation: 2563
I'm getting this warning output to the console whenever I write to core data
CPSqliteStatementPerform: attempt to write a readonly database for UPDATE ddd.ext_container SET orig_date_modified = (SELECT date_modified FROM container WHERE pid=container_pid) WHERE orig_date_modified=0
CPSqliteStatementReset: attempt to write a readonly database for UPDATE ddd.ext_container SET orig_date_modified = (SELECT date_modified FROM container WHERE pid=container_pid) WHERE orig_date_modified=0
Everything seems to work ok, I dont get any crashes or anything like that, its just worrying. Anyone know what this means?
Upvotes: 1
Views: 652
Reputation: 64428
Have you initialized the persistent store as readonly? That would cause this general type of message.
Have you tried to access the store via SQLite bypassing the Core Data stack? If so, you probably corrupted the store.
Upvotes: 2