Q:

What does sqlite3_close failed 27 mean?

I get the following error when closing a sqlite database:
02-22 15:42:03.184: ERROR/SqliteDatabaseCpp(846): sqlite3_close(0x1ca0c0) failed: 27
What does it mean?

A:

Typically I'd tell you to go looking here, but happens as it may - the error code you are getting (27) happens to be a special little something added specifically for Android.
More explictly, it's defined like this:
define SQLITE_UNCLOSED    27   /* db can't be closed due unfinalized stmts */

Basically, this means you have crap that you have not yet called #close() on - any prepared statements or similar perhaps (or InsertHelpers - they use them to).

