Home
last modified time | relevance | path

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

12

/sqlite-3.40.0/test/
H A Dinit.test33 do_test init-$t.1 {
37 do_test init-$t.2 {
40 do_test init-$t.3 {
44 do_test init-$t.4 {
47 do_test init-$t.5 {
50 do_test init-$t.6 {
54 do_test init-$t.7 {
57 do_test init-$t.8 {
64 do_malloc_test init-2 -tclprep {
73 do_test init-2.$zRepeat.$::n.x {
H A Dwalthread.test71 # -init SCRIPT Script to run before test.
82 set P(init) ""
99 -init {
100 set P(init) [lshift A]
135 eval $P(init)
247 do_thread_test2 walthread-1 -seconds $seconds(walthread-1) -init {
331 do_thread_test2 walthread-2 -seconds $seconds(walthread-2) -init {
387 do_thread_test walthread-3 -seconds $seconds(walthread-3) -init {
442 do_thread_test2 walthread-4 -seconds $seconds(walthread-4) -init {
482 do_thread_test walthread-5 -seconds $seconds(walthread-5) -init {
H A Denc4.test55 foreach init $inits {
58 set S [sqlite3_prepare_v2 db "SELECT $init+?" -1 dummy]
65 set part [expr $init + [string range $val 0 [expr $x-1]]]
H A Dtkt2820.test26 proc test_schema_change {testid init ddl res} {
30 execsql $init
H A Davfs.test299 set res [catchcmd "-append -batch -init $shdo $shod" ""]
321 set res [catchcmd "-append -batch -init $shdo $shod" ""]
341 set res [catchcmd "-append -batch -init $shdo $shod" ""]
H A Dshell1.test64 [regexp {\-init} $res] \
68 # -init filename read/process named file
74 catchcmd "-init FOO test.db" ""
77 catchcmd "-init FOO test.db .quit BAD" ""
80 catchcmd "-init FOO test.db BAD .quit" ""
/sqlite-3.40.0/src/
H A Dprepare.c128 u8 saved_iDb = db->init.iDb; in sqlite3InitCallback()
132 assert( db->init.busy ); in sqlite3InitCallback()
133 db->init.iDb = iDb; in sqlite3InitCallback()
141 db->init.orphanTrigger = 0; in sqlite3InitCallback()
147 db->init.iDb = saved_iDb; in sqlite3InitCallback()
218 db->init.busy = 1; in sqlite3InitOne()
360 assert( db->init.busy ); in sqlite3InitOne()
424 db->init.busy = 0; in sqlite3InitOne()
443 assert( db->init.busy==0 ); in sqlite3Init()
473 if( !db->init.busy ){ in sqlite3ReadSchema()
[all …]
H A Dbuild.c160 if( db->init.busy ){ in sqlite3FinishCoding()
998 if( db->init.busy ) { in sqlite3TwoPartName()
1009 assert( db->init.iDb==0 || db->init.busy || IN_SPECIAL_PARSE in sqlite3TwoPartName()
1011 iDb = db->init.iDb; in sqlite3TwoPartName()
1056 if( db->init.busy ){ in sqlite3CheckObjectName()
1227 if( db->init.busy && db->init.newTnum==1 ){ in sqlite3StartTable()
1229 iDb = db->init.iDb; in sqlite3StartTable()
1742 int isInit = db->init.busy && db->init.iDb!=1; in sqlite3AddDefaultValue()
2646 if( db->init.busy ){ in sqlite3EndTable()
2773 if( !db->init.busy ){ in sqlite3EndTable()
[all …]
H A Dtrigger.c154 if( db->init.busy && iDb!=1 ){ in sqlite3BeginTrigger()
165 if( db->init.busy==0 && pName2->n==0 && pTab in sqlite3BeginTrigger()
203 assert( !db->init.busy ); in sqlite3BeginTrigger()
290 if( db->init.iDb==1 ){ in sqlite3BeginTrigger()
301 db->init.orphanTrigger = 1; in sqlite3BeginTrigger()
341 assert( !db->init.busy ); in sqlite3FinishTrigger()
350 if( !db->init.busy ){ in sqlite3FinishTrigger()
388 if( db->init.busy ){ in sqlite3FinishTrigger()
H A Dvacuum.c281 db->init.iDb = nDb; /* force new CREATE statements into vacuum_db */ in sqlite3RunVacuum()
295 db->init.iDb = 0; in sqlite3RunVacuum()
383 db->init.iDb = 0; in sqlite3RunVacuum()
H A Dattach.c99 # define REOPEN_AS_MEMDB(db) (db->init.reopenMemdb) in attachFunc()
110 pNew = &db->aDb[db->init.iDb]; in attachFunc()
209 db->init.iDb = 0; in attachFunc()
444 if( pFix->pParse->db->init.busy ){ in fixExprCb()
H A Dauth.c114 if( db->init.busy ) return SQLITE_OK; in sqlite3AuthReadCol()
211 if( db->xAuth==0 || db->init.busy || IN_SPECIAL_PARSE ){ in sqlite3AuthCheck()
H A Dvtab.c464 if( !db->init.busy ){ in sqlite3VtabFinishParse()
835 assert( db->init.busy==0 ); in sqlite3_declare_vtab()
836 initBusy = db->init.busy; in sqlite3_declare_vtab()
837 db->init.busy = 0; in sqlite3_declare_vtab()
886 db->init.busy = initBusy; in sqlite3_declare_vtab()
H A Dmemdb.c826 db->init.iDb = (u8)iDb; in sqlite3_deserialize()
827 db->init.reopenMemdb = 1; in sqlite3_deserialize()
829 db->init.reopenMemdb = 0; in sqlite3_deserialize()
H A Dmain.c1440 schemaChange = (db->mDbFlags & DBFLAG_SchemaChange)!=0 && db->init.busy==0; in sqlite3RollbackAll()
3256 db->init.azInit = sqlite3StdType; /* Any array of string ptrs will do */ in openDatabase()
4341 db->init.iDb = iDb; in sqlite3_test_control()
4342 db->init.busy = db->init.imposterTable = va_arg(ap,int); in sqlite3_test_control()
4343 db->init.newTnum = va_arg(ap,int); in sqlite3_test_control()
4344 if( db->init.busy==0 && db->init.newTnum>0 ){ in sqlite3_test_control()
H A Dcallback.c258 u8 initbusy = db->init.busy; in sqlite3LocateCollSeq()
H A Dresolve.c143 if( db->init.busy ) return 1; /* Always support for legacy schemas */ in areDoubleQuotedStringsEnabled()
1122 else if( no_such_func && pParse->db->init.busy==0 in resolveExprStep()
H A Dvdbeapi.c66 assert( db->init.busy==0 ); in invokeProfileCallback()
683 && !db->init.busy && p->zSql ){ in sqlite3Step()
H A Dalter.c1143 db->init.iDb = bTemp ? 1 : sqlite3FindDbName(db, zDb); in renameParseSql()
1167 db->init.iDb = 0; in renameParseSql()
H A Dparse.y196 temp(A) ::= TEMP. {A = pParse->db->init.busy==0;}
1452 && pParse->db->init.busy==0
/sqlite-3.40.0/ext/rbu/
H A Drbudiff.test95 foreach {tn init mod} {
166 db eval "$init"
168 db eval "$init ; $mod"
179 db eval "$init ; $mod"
181 db eval "$init"
197 foreach {tn init mod} {
228 db eval "$init"
230 db eval "$init ; $mod"
243 foreach {tn init mod} {
283 db eval "$init"
[all …]
/sqlite-3.40.0/ext/wasm/
H A DGNUmakefile371 sqlite3.js.init-func := sqlite3InitModule
376 emcc.jsflags += -sEXPORT_NAME=$(sqlite3.js.init-func)
505 speedtest1-common.eflags += -sEXPORT_NAME=$(sqlite3.js.init-func)
H A Dfiddle.make37 -sEXPORT_NAME=$(sqlite3.js.init-func) \
H A Dwasmfs.make48 sqlite3-wasmfs.jsflags += -sEXPORT_NAME=$(sqlite3.js.init-func)
/sqlite-3.40.0/ext/userauth/
H A Duserauth.c67 if( db->init.busy==0 ){ in userTableExists()

12