Home
last modified time | relevance | path

Searched refs:execute_batch (Results 1 – 25 of 25) sorted by relevance

/external/rust/crates/rusqlite/src/
Dtransaction.rs123 conn.execute_batch(query).map(move |_| Transaction { in new_unchecked()
183 self.conn.execute_batch("COMMIT")?; in commit_()
193 self.conn.execute_batch("ROLLBACK")?; in rollback_()
241 conn.execute_batch(&format!("SAVEPOINT {}", name)) in with_depth_and_name()
294 self.conn.execute_batch(&format!("RELEASE {}", self.name))?; in commit_()
307 .execute_batch(&format!("ROLLBACK TO {}", self.name)) in rollback()
474 db.execute_batch("CREATE TABLE foo (x INTEGER)").unwrap(); in checked_memory_handle()
483 tx.execute_batch("INSERT INTO foo VALUES(1)").unwrap(); in test_drop()
488 tx.execute_batch("INSERT INTO foo VALUES(2)").unwrap(); in test_drop()
523 tx.execute_batch("INSERT INTO foo VALUES(1)").unwrap(); in test_unchecked_nesting()
[all …]
Dlib.rs450 pub fn execute_batch(&self, sql: &str) -> Result<()> { in execute_batch() method
962 .execute_batch( in test_concurrent_transactions_busy_commit()
1012 db.execute_batch(sql).unwrap(); in test_persistence()
1070 db.execute_batch(sql).unwrap(); in test_invalid_unicode_file_names()
1141 db.execute_batch(sql).unwrap(); in test_execute_batch()
1143 db.execute_batch("UPDATE foo SET x = 3 WHERE x < 3") in test_execute_batch()
1146 assert!(db.execute_batch("INVALID SQL").is_err()); in test_execute_batch()
1152 db.execute_batch("CREATE TABLE foo(x INTEGER)").unwrap(); in test_execute()
1201 db.execute_batch("CREATE TABLE foo(x INTEGER);").unwrap(); in test_prepare_column_names()
1215 db.execute_batch("CREATE TABLE foo(x INTEGER);").unwrap(); in test_prepare_execute()
[all …]
Dstatement.rs847 db.execute_batch("CREATE TABLE foo(x INTEGER)").unwrap(); in test_execute_named()
876 db.execute_batch(sql).unwrap(); in test_stmt_execute_named()
900 db.execute_batch(sql).unwrap(); in test_query_named()
918 db.execute_batch(sql).unwrap(); in test_query_map_named()
942 db.execute_batch(sql).unwrap(); in test_query_and_then_named()
975 db.execute_batch(sql).unwrap(); in test_unbound_parameters_are_null()
993 db.execute_batch("CREATE TABLE test (name TEXT, value INTEGER)")?; in test_raw_binding()
1025 db.execute_batch(sql).unwrap(); in test_unbound_parameters_are_reused()
1044 db.execute_batch("CREATE TABLE foo(x INTEGER UNIQUE)") in test_insert()
1068 db.execute_batch( in test_insert_different_tables()
[all …]
Dbackup.rs319 src.execute_batch(sql).unwrap(); in test_backup()
333 src.execute_batch("INSERT INTO foo VALUES(43)").unwrap(); in test_backup()
355 src.execute_batch(sql).unwrap(); in test_backup_temp()
371 src.execute_batch("INSERT INTO foo VALUES(43)").unwrap(); in test_backup_temp()
396 src.execute_batch(sql).unwrap(); in test_backup_attached()
416 src.execute_batch("INSERT INTO foo VALUES(43)").unwrap(); in test_backup_attached()
Dhooks.rs263 db.execute_batch("BEGIN; CREATE TABLE foo (t TEXT); COMMIT;") in test_commit_hook()
277 db.execute_batch("BEGIN; CREATE TABLE foo (t TEXT); COMMIT;") in test_fn_commit_hook()
291 db.execute_batch("BEGIN; CREATE TABLE foo (t TEXT); ROLLBACK;") in test_rollback_hook()
310 db.execute_batch("CREATE TABLE foo (t TEXT)").unwrap(); in test_update_hook()
311 db.execute_batch("INSERT INTO foo VALUES ('lisa')").unwrap(); in test_update_hook()
Dunlock_notify.rs113 db1.execute_batch("CREATE TABLE foo (x)").unwrap(); in test_unlock_notify()
118 tx2.execute_batch("INSERT INTO foo VALUES (42)").unwrap(); in test_unlock_notify()
Dtrace.rs172 db.execute_batch("PRAGMA application_id = 1").unwrap(); in test_profile()
174 db.execute_batch("PRAGMA application_id = 2").unwrap(); in test_profile()
Dsession.rs751 db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);") in one_changeset()
766 db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);") in one_changeset_strm()
819 db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);") in test_changeset_apply()
864 db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);") in test_changeset_apply_strm()
886 db.execute_batch("CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL);") in test_session_empty()
Dcache.rs280 db.execute_batch( in test_ddl()
298 db.execute_batch( in test_ddl()
Dcolumn.rs189 db.execute_batch( in test_column_name_in_error()
Dcollation.rs179 db.execute_batch( in collate()
Dpragma.rs259 self.execute_batch(&sql) in pragma_update()
Dfunctions.rs816 db.execute_batch( in test_function_regexp_with_auxilliary()
1011 db.execute_batch( in test_window()
/external/rust/crates/rusqlite/src/vtab/
Dcsvtab.rs372 db.execute_batch("CREATE VIRTUAL TABLE vtab USING csv(filename='test.csv', header=yes)") in test_csv_module()
390 db.execute_batch("DROP TABLE vtab").unwrap(); in test_csv_module()
397 db.execute_batch("CREATE VIRTUAL TABLE vtab USING csv(filename='test.csv', header=yes)") in test_csv_cursor()
412 db.execute_batch("DROP TABLE vtab").unwrap(); in test_csv_cursor()
/external/rust/crates/rusqlite/benches/
Dexec.rs13 b.iter(|| db.execute_batch(sql).unwrap()); in bench_execute_batch()
/external/rust/crates/rusqlite/src/types/
Dserde_json.rs34 db.execute_batch("CREATE TABLE foo (t TEXT, b BLOB)") in checked_memory_handle()
Durl.rs33 db.execute_batch("CREATE TABLE urls (i INTEGER, v TEXT)") in checked_memory_handle()
Dtime.rs41 db.execute_batch("CREATE TABLE foo (t TEXT, i INTEGER, f FLOAT)") in checked_memory_handle()
Dto_sql.rs307 db.execute_batch("CREATE TABLE foo (i128 BLOB, desc TEXT)") in test_i128()
353 db.execute_batch("CREATE TABLE foo (id BLOB CHECK(length(id) = 16), label TEXT);") in test_uuid()
Dchrono.rs136 db.execute_batch("CREATE TABLE foo (t TEXT, i INTEGER, f FLOAT, b BLOB)") in checked_memory_handle()
Dmod.rs125 db.execute_batch("CREATE TABLE foo (b BLOB, t TEXT, i INTEGER, f FLOAT, n)") in checked_memory_handle()
/external/rust/crates/rusqlite/src/blob/
Dpos_io.rs204 db.execute_batch("CREATE TABLE test_table(content BLOB);") in test_pos_io()
Dmod.rs418 db.execute_batch(sql)?; in db_with_test_blob()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dcall.cc287 static void execute_batch(grpc_call* call,
645 static void execute_batch(grpc_call* call, in execute_batch() function
721 execute_batch(c, op, &state->start_batch); in cancel_with_error()
1936 execute_batch(call, stream_op, &bctl->start_batch); in call_start_batch()
/external/grpc-grpc/src/core/lib/surface/
Dcall.cc246 static void execute_batch(grpc_call* call, grpc_transport_stream_op_batch* op,
604 static void execute_batch(grpc_call* call, in execute_batch() function
679 execute_batch(c, op, &state->start_batch); in cancel_with_error()
1844 execute_batch(call, stream_op, &bctl->start_batch); in call_start_batch()