> On Aug 8, 2017, at 9:38 PM, Manoj Sengottuvel <smanoj...@gmail.com> wrote: > > In our IOS app - we are getting the error "*database table is locked*" > while executing the table drop script (e.g. drop table tbl1;).
You may still have a compiled statement (sqlite3_stmt*) for a query that references this table. That will prevent the table from being deleted. If you’ve got a reference to such a statement, free it first by calling sqlite3_finalize(). If you don’t, it may have been leaked, i.e. you may have created the statement but forgotten to finalize it. —Jens _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users