Home
last modified time | relevance | path

Searched refs:sqlite_exec (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/lib/libsqlite/test/
H A Dthreadtest2.c63 rc = sqlite_exec(db, "pragma integrity_check", check_callback, 0, 0); in integrity_check()
68 sqlite_exec(db, "pragma integrity_check", check_callback, 0, 0); in integrity_check()
83 sqlite_exec(db, "PRAGMA synchronous=OFF", 0, 0, 0); in worker()
87 rc = sqlite_exec(db, "INSERT INTO t1 VALUES('bogus data')", 0, 0, 0); in worker()
108 rc = sqlite_exec(db, "CREATE TABLE t1(x);", 0,0,0); in main()
H A Dthreadtest1.c117 rc = sqlite_exec(db, zSql, db_query_callback, &sResult, &zErrMsg); in db_query()
120 rc = sqlite_exec(db, zSql, db_query_callback, &sResult, &zErrMsg); in db_query()
149 rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg); in db_execute()
152 rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg); in db_execute()
H A Dmisuse.test47 # It used to be prohibited to invoke sqlite_exec() from within a function,
65 # Attempt to register a new SQL function while an sqlite_exec() is active.
94 # Attempt to register a new SQL aggregate while an sqlite_exec() is active.
123 # Attempt to close the database from an sqlite_exec callback.
H A Dcrashtest1.c84 sqlite_exec(db, "CREATE TABLE t1(a,b)", 0, 0, 0); in main()
/titanic_41/usr/src/lib/libsqlite/src/
H A Dvacuum.c99 rc = sqlite_exec(db, zSql, 0, 0, &zErrMsg); in execsql()
159 rc = sqlite_exec(p->dbOld, p->s1.z, vacuumCallback2, p, &zErrMsg); in vacuumCallback1()
294 rc = sqlite_exec(db, zBuf, vacuumCallback3, &sVac, &zErrMsg); in sqliteRunVacuum()
297 rc = sqlite_exec(db, in sqliteRunVacuum()
307 sqlite_exec(db, "COMMIT", 0, 0, 0); in sqliteRunVacuum()
316 sqlite_exec(db, "ROLLBACK", 0, 0, 0); in sqliteRunVacuum()
H A Dsqlite.h.in104 ** are skipped and the sqlite_exec() function returns the SQLITE_ABORT.
136 int sqlite_exec(
145 ** Return values for sqlite_exec() and sqlite_step()
190 ** (or inserted or deleted) by the most recent called sqlite_exec().
196 ** If a callback invokes sqlite_exec() recursively, then the changes
212 ** by the last INSERT, UPDATE, or DELETE statment executed by sqlite_exec(),
220 ** If a callback invokes sqlite_exec() recursively, then the changes
265 ** is NULL, then sqlite_exec() returns SQLITE_BUSY immediately if
267 ** sqlite_exec() invokes the callback with three arguments. The
270 ** busy callback returns 0, then sqlite_exec() immediately returns
[all …]
H A Dmain.c89 if( sqlite_exec(db, argv[3], 0, 0, &zErr) ){ in sqliteInitCallback()
351 rc = sqlite_exec(db, zSql, sqliteInitCallback, &initData, 0); in sqliteInitOne()
428 rc = sqlite_exec(db, in sqliteInit()
437 sqlite_exec(db, "COMMIT", 0, 0, 0); in sqliteInit()
626 int sqlite_exec( in sqlite_exec() function
H A Dtable.c154 rc = sqlite_exec(db, zSql, sqlite_get_table_cb, &res, pzErrMsg); in sqlite_get_table()
H A Dtclsqlite.c805 rc = sqlite_exec(pDb->db, zSql, DbEvalCallback, &cbData, &zErrMsg); in DbObjCmd()
812 rc = sqlite_exec(pDb->db, zSql, DbEvalCallback2, pList, &zErrMsg); in DbObjCmd()
901 rc = sqlite_exec(pDb->db, zSql, DbEvalCallback3, interp, &zErrMsg); in DbObjCmd()
H A Dtest1.c364 sqlite_exec((sqlite*)sqlite_user_data(context), argv[0], in sqliteExecFunc()
728 rc = sqlite_exec(db, argv[2], rememberDataTypes, interp, 0); in sqlite_datatypes()
H A Dprintf.c824 rc = sqlite_exec(db, zSql, xCallback, pArg, errmsg); in sqlite_exec_vprintf()
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_nic.c910 rc = sqlite_exec(db, "BEGIN TRANSACTION", NULL, NULL, &errmsg); in smb_nic_dbcreate()
919 if (sqlite_exec(db, SMB_NIC_DB_SQL, NULL, NULL, &errmsg) == SQLITE_OK) { in smb_nic_dbcreate()
920 rc = sqlite_exec(db, "COMMIT TRANSACTION", NULL, NULL, in smb_nic_dbcreate()
925 rc = sqlite_exec(db, "ROLLBACK TRANSACTION", NULL, NULL, in smb_nic_dbcreate()
931 rc = sqlite_exec(db, "ROLLBACK TRANSACTION", NULL, NULL, in smb_nic_dbcreate()
1084 rc = sqlite_exec(db, sql, NULL, NULL, &errmsg); in smb_nic_dbaddhost()
1116 rc = sqlite_exec(db, sql, NULL, NULL, &errmsg); in smb_nic_dbdelhost()
1149 rc = sqlite_exec(db, sql, NULL, NULL, &errmsg); in smb_nic_dbsetinfo()
H A Dsmb_lgrp.c1236 dbrc = sqlite_exec(db, "BEGIN TRANSACTION;", NULL, NULL, &errmsg); in smb_lgrp_db_init()
1245 switch (sqlite_exec(db, SMB_LGRP_DB_SQL, NULL, NULL, &errmsg)) { in smb_lgrp_db_init()
1253 dbrc = sqlite_exec(db, "ROLLBACK TRANSACTION", NULL, NULL, in smb_lgrp_db_init()
1259 dbrc = sqlite_exec(db, "COMMIT TRANSACTION", NULL, NULL, in smb_lgrp_db_init()
1278 dbrc = sqlite_exec(db, "ROLLBACK TRANSACTION", NULL, NULL, in smb_lgrp_db_init()
1502 rc = sqlite_exec(db, sql, NULL, NULL, &errmsg); in smb_lgrp_gtbl_insert()
1536 rc = sqlite_exec(db, sql, NULL, NULL, &errmsg); in smb_lgrp_gtbl_delete()
1591 rc = sqlite_exec(db, sql, NULL, NULL, &errmsg); in smb_lgrp_gtbl_update()
1690 rc = sqlite_exec(db, sql, NULL, NULL, &errmsg); in smb_lgrp_gtbl_update_mlist()
1774 rc = sqlite_exec(db, sql, NULL, NULL, &errmsg); in smb_lgrp_gtbl_update_plist()
[all …]
H A Dsmb_sqlite.h112 sqlite_exec(sqlite *db, const char *zSql, sqlite_callback xCallback, void *pArg, in sqlite_exec() function
/titanic_41/usr/src/cmd/svc/configd/
H A Dbackend.c482 r = sqlite_exec(db, in backend_is_readonly()
486 (void) sqlite_exec(db, "ROLLBACK TRANSACTION", NULL, NULL, NULL); in backend_is_readonly()
1211 r = sqlite_exec(be->be_db, "SELECT value_order FROM value_tbl LIMIT 1;", in backend_check_upgrade()
1216 r = sqlite_exec(be->be_db, in backend_check_upgrade()
1594 r = sqlite_exec(be_db, in backend_switch_check()
1880 r = sqlite_exec(be->be_db, "SELECT schema_version FROM schema_version;", in backend_create()
1889 r = sqlite_exec(be->be_db, "SELECT count() FROM id_tbl;", in backend_create()
1933 r = sqlite_exec(be->be_db, "PRAGMA integrity_check;", in backend_create()
2086 ret = sqlite_exec(be->be_db, q->bq_buf, cb, data, &errmsg); in backend_run()
2192 r = sqlite_exec((*txp)->bt_be->be_db, "BEGIN TRANSACTION", NULL, NULL, in backend_tx_begin()
[all …]
/titanic_41/usr/src/lib/libsqlite/
H A Dmapfile-sqlite30 sqlite_exec;
/titanic_41/usr/src/cmd/sqlite/
H A Dshell.c587 sqlite_exec(p->db, "PRAGMA database_list; ", callback, &data, &zErrMsg); in do_meta_command()
599 sqlite_exec(p->db, in do_meta_command()
860 sqlite_exec(p->db, in do_meta_command()
1069 rc = sqlite_exec(p->db, zSql, callback, p, &zErrMsg); in process_input()
1330 rc = sqlite_exec(data.db, zFirstCmd, callback, &data, &zErrMsg); in main()
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c527 rc = sqlite_exec(db, "BEGIN TRANSACTION;", NULL, NULL, &errmsg); in sql_exec_tran_no_cb()
535 rc = sqlite_exec(db, sql, NULL, NULL, &errmsg); in sql_exec_tran_no_cb()
544 rc = sqlite_exec(db, "COMMIT TRANSACTION", NULL, NULL, &errmsg); in sql_exec_tran_no_cb()
556 rc = sqlite_exec(db, "ROLLBACK TRANSACTION", NULL, NULL, &errmsg); in sql_exec_tran_no_cb()
578 r = sqlite_exec(db, sql, NULL, NULL, &errmsg); in sql_exec_no_cb()
705 r = sqlite_exec(db, sql, cb, &cb_data, &errmsg); in process_list_svc_sql()