db_config method
Implementation
int db_config(PtrSqlite3 db, int op, List<dynamic> varg) {
switch (op) {
case _i1.DBCONFIG_NO_CKPT_ON_CLOSE:
checkVersion('sqlite3_db_config', '3.6.1', _version3_6_1);
// We might not need to pass pointer however document does not mention whether we can
// pass null pointer, see: https://www.sqlite.org/c3ref/c_dbconfig_defensive.html#sqlitedbconfiglookaside
final change = pkgffi.malloc<ffi.Int32>();
try {
return _h_db_config_1!(db, op, varg.first, change);
} finally {
pkgffi.malloc.free(change);
}
}
return _i1.ERROR;
}