| /sqlite-3.40.0/test/ |
| H A D | trace.test | 20 ifcapable !trace { 26 do_test trace-1.1 { 33 do_test trace-1.2 { 35 db trace 37 do_test trace-1.3 { 44 do_test trace-1.4 { 47 do_test trace-1.5 { 48 db trace {} 49 db trace 66 db trace {} [all …]
|
| H A D | trace2.test | 26 ifcapable !trace { finish_test ; return } 30 proc trace {zSql} { lappend ::trace $zSql } 33 db trace trace 36 # Test that the list of string passed to the trace callback when $sql 39 set ::trace [list] 41 uplevel do_test $tn [list {set ::trace}] [list [list {*}$expected]] 48 # Now execute each SQL statement passed to the trace callback in the 51 # of the trace callback is equivalent to the SQL script in $sql. 53 set sqllist $::trace 54 set ::trace [list] [all …]
|
| H A D | shell4.test | 15 # 2015-03-19: Added tests for .trace 20 # shell4-2.*: Basic tests for ".trace" 111 ifcapable trace { 113 catchcmd ":memory:" "CREATE TABLE t1(x);\n.trace --unknown" 114 } {1 {Unknown option "--unknown" on ".trace"}} 116 catchcmd ":memory:" "CREATE TABLE t1(x);\n.trace off\n.trace off\n" 119 catchcmd ":memory:" ".trace stdout\n.dump\n.trace off\n" 122 catchcmd ":memory:" ".trace stdout\nCREATE TABLE t1(x);SELECT * FROM t1;" 126 catchcmd ":memory:" "CREATE TABLE t1(x);\n.trace stdout\nSELECT * FROM t1;"
|
| H A D | vtab7.test | 39 # the echo table). By setting up a tcl trace on the ::echo_module variable, 44 trace add variable ::echo_module write echo_module_trace 63 # The following tests, vtab7-1.*, test that the trace callback on 204 trace remove variable ::echo_module write echo_module_trace
|
| H A D | spellfix.test | 253 ifcapable trace { 256 lappend ::trace [string range $sql 3 end] 261 set ::trace [list] 264 concat [set vals] [set ::trace] 268 db trace trace_callback
|
| H A D | trace3.test | 18 ifcapable !trace { finish_test ; return } 23 error "trace error"; # this will be ignored. 59 } {1 {bad trace type "bad": must be statement, profile, row, or close}}
|
| H A D | fkey1.test | 177 ifcapable trace { 184 db trace sqltrace
|
| H A D | speed4.test | 34 #db trace tracesql
|
| H A D | speed1.test | 32 #db trace tracesql
|
| H A D | speed4p.explain | 34 #db trace tracesql
|
| H A D | speed4p.test | 34 #db trace tracesql
|
| H A D | speed2.test | 28 #db trace tracesql
|
| H A D | speed1p.explain | 30 #db trace tracesql
|
| H A D | misc2.test | 427 # trace the NEW.X back to an original table and thus figure out its
|
| H A D | corruptC.test | 340 # You can uncomment the following to have it trace
|
| H A D | tclsqlite.test | 45 …rekey, restore, rollback_hook, serialize, status, timeout, total_changes, trace, trace_v2, transac…
|
| H A D | permutations.test | 668 trace.test trigger1.test trigger2.test trigger3.test
|
| /sqlite-3.40.0/src/ |
| H A D | mutex_w32.c | 43 volatile LONG trace; /* True to trace changes */ member 223 p->trace = 1; in winMutexAlloc() 244 InterlockedCompareExchange(&p->trace, 1, 0); in winMutexAlloc() 300 if( p->trace ){ in winMutexEnter() 302 tid, p->id, p, p->trace, p->nRef)); in winMutexEnter() 343 if( p->trace ){ in winMutexTry() 345 tid, p->id, p, p->trace, p->owner, p->nRef, sqlite3ErrName(rc))); in winMutexTry() 372 if( p->trace ){ in winMutexLeave() 374 tid, p->id, p, p->trace, p->nRef)); in winMutexLeave()
|
| H A D | mutex_unix.c | 49 int trace; /* True to trace changes */ member 288 if( p->trace ){ in pthreadMutexEnter() 289 printf("enter mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef); in pthreadMutexEnter() 337 if( rc==SQLITE_OK && p->trace ){ in pthreadMutexTry() 338 printf("enter mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef); in pthreadMutexTry() 367 if( p->trace ){ in pthreadMutexLeave() 368 printf("leave mutex %p (%d) with nRef=%d\n", p, p->trace, p->nRef); in pthreadMutexLeave()
|
| H A D | sqlite3ext.h | 143 void * (*trace)(sqlite3*,void(*xTrace)(void*,const char*),void*); member 493 #define sqlite3_trace sqlite3_api->trace
|
| H A D | main.c | 1213 db->trace.xV2(SQLITE_TRACE_CLOSE, db->pTraceArg, db, 0); in sqlite3Close() 2149 db->trace.xLegacy = xTrace; in sqlite3_trace() 2173 db->trace.xV2 = xTrace; in sqlite3_trace_v2()
|
| H A D | vdbe.c | 1615 db->trace.xV2(SQLITE_TRACE_ROW, db->pTraceArg, p, 0); in sqlite3VdbeExec() 8583 db->trace.xLegacy(db->pTraceArg, z); in sqlite3VdbeExec() 8589 (void)db->trace.xV2(SQLITE_TRACE_STMT, db->pTraceArg, p, z); in sqlite3VdbeExec() 8592 (void)db->trace.xV2(SQLITE_TRACE_STMT, db->pTraceArg, p, zTrace); in sqlite3VdbeExec()
|
| H A D | shell.c.in | 1129 u8 autoEQPtrace; /* autoEQP is in trace mode */ 1134 u8 eTraceType; /* SHELL_TRACE_* value for type of trace */ 3959 /* Reprepare pStmt before reactiving trace modes */ 4582 ".trace ?OPTIONS? Output each SQL statement as it is run", 5404 unsigned mType, /* The trace type */ 8103 }else if( cli_strcmp(azArg[1],"trace")==0 ){ 8114 raw_printf(stderr, "Usage: .eqp off|on|trace|trigger|full\n"); 10622 if( c=='t' && cli_strncmp(azArg[0], "trace", n)==0 ){ 10653 raw_printf(stderr, "Unknown option \"%s\" on \".trace\"\n", z); 11334 " -memtrace trace all memory allocations and deallocations\n" [all …]
|
| H A D | vdbeapi.c | 76 db->trace.xV2(SQLITE_TRACE_PROFILE, db->pTraceArg, p, (void*)&iElapse); in invokeProfileCallback()
|
| /sqlite-3.40.0/ext/wasm/api/ |
| H A D | sqlite3-wasm.c | 653 DefGroup(trace) { in sqlite3_wasm_enum_json()
|