Sqlite running properly after SQLITE_MEMDEBUG