The sqlite3_db_config() function is a variable argument one, taking a database handle, a config option, and then what the documentation says is 'Subsequent arguments vary depending on the configuration verb.'.
Aside from SQLITE_DBCONFIG_MAINDBNAME and SQLITE_DBCONFIG_LOOKASIDE, they all require an int and an int* for those arguments. The descriptions of SQLITE_DBCONFIG_RESET_DATABASE and SQLITE_DBCONFIG_DEFENSIVE don't mention the need for the second argument (As I just found out the hard way with the latter option). _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users