iOS 数据库操作崩溃提示“ int rc = sqlite3_step([_statement statement]);”或者提示“ rc = sqlite3_step(pStmt);”

 数据库崩溃崩溃提示“ int rc = sqlite3_step([_statement statement]);”或者提示“ rc      = sqlite3_step(pStmt);”的时候,可能是因为数据库操作出现了安全的问题。之前崩溃的原因是因为 添加了多线程的缘故,把多线程去掉就好了。

附上一关于数据库安全的博客:http://blog.csdn.net/jacky_jin/article/details/51980325

原文地址:https://www.cnblogs.com/lyz0925/p/6646005.html