core data warning in console
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?
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.
精彩评论