Lines Matching refs:execute
155 .execute( in init_tables_v1()
166 .execute("CREATE INDEX IF NOT EXISTS main.vmids_user_index ON vmids(user_id);", []) in init_tables_v1()
169 .execute( in init_tables_v1()
175 .execute("PRAGMA main.user_version = 1;", ()) in init_tables_v1()
183 .execute("ALTER TABLE main.vmids ADD COLUMN created INTEGER;", ()) in upgrade_tables_v0_v1()
186 .execute("PRAGMA main.user_version = 1;", ()) in upgrade_tables_v0_v1()
196 .execute( in init_tables_v0()
206 .execute("CREATE INDEX IF NOT EXISTS main.vmids_user_index ON vmids(user_id);", []) in init_tables_v0()
209 .execute( in init_tables_v0()
222 .execute( in add_vm_id()
238 let _rows = stmt.execute(params_from_iter(vm_ids)).context("failed to delete VM IDs")?; in delete_vm_ids()
433 .execute( in test_schema_upgrade_v0_v1()
474 db.conn.execute("DROP TABLE main.vmids", ()).unwrap(); in test_non_upgradable_database_file()
475 db.conn.execute("PRAGMA main.user_version = 0;", ()).unwrap(); in test_non_upgradable_database_file()
491 db.conn.execute("PRAGMA main.user_version = 99;", ()).unwrap(); in test_database_from_the_future()
578 .execute( in test_invalid_vm_id()
607 .execute( in test_remove_oldest_with_upgrade()