added WITH_SQLITE_DEBUG & WITH_SQLITE_MEMDEBUG