This is so odd! When would error be "not an error" ? Is that an sqlite3_errmsg thing? Funny that it doesn't just return SQLITE_OK. 

(not a correction, just a comment)