使用FMDB 报这个错误的小伙伴 Unknown error calling sqlite3_step (5: database is locked) eu
例如:
2014-07-23 23:00:10.328 RLog[716:60b] Unknown error calling sqlite3_step (5: database is locked) eu 2014-07-23 23:00:10.328 RLog[716:60b] DB Query: INSERT INTO DEMO2 (time,tc1,tc2,tc3,tc4,hr) VALUES (?,?,?)
.如果你没有用多线程访问
别问我怎么知道的。说多了都是汗水!