Home
last modified time | relevance | path

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

123

/sqlite-3.40.0/test/
H A Dtt3_stress.c31 closedb(&err, &db); in stress_thread_1()
46 closedb(&err, &db); in stress_thread_2()
66 if( err.rc ) i2++; in stress_thread_3()
70 closedb(&err, &db); in stress_thread_3()
96 if( err.rc ) i2++; in stress_thread_4()
100 closedb(&err, &db); in stress_thread_4()
125 if( err.rc ) i2++; in stress_thread_5()
128 closedb(&err, &db); in stress_thread_5()
135 Error err = {0}; in stress1() local
340 Error err = {0}; in stress2() local
[all …]
H A Dthreadtest3.c1016 closedb(&err, &db); in walthread1_thread()
1034 closedb(&err, &db); in walthread1_ckpt_thread()
1054 closedb(&err, &db); in walthread1()
1105 Error err = {0}; in walthread2() local
1111 closedb(&err, &db); in walthread2()
1155 closedb(&err, &db); in walthread3_thread()
1161 Error err = {0}; in walthread3() local
1220 Error err = {0}; in walthread4() local
1253 Error err = {0}; in walthread5() local
1345 Error err = {0}; in cgt_pager_1() local
[all …]
H A Dtt3_vacuum.c29 while( !timetostop(&err) ){ in vacuum1_thread_writer()
33 execsql(&err, &db, in vacuum1_thread_writer()
47 closedb(&err, &db); in vacuum1_thread_writer()
48 print_and_free_err(&err); in vacuum1_thread_writer()
62 closedb(&err, &db); in vacuum1_thread_vacuumer()
63 print_and_free_err(&err); in vacuum1_thread_vacuumer()
68 Error err = {0}; in vacuum1() local
73 sql_script(&err, &db, in vacuum1()
77 closedb(&err, &db); in vacuum1()
79 setstoptime(&err, nMs); in vacuum1()
[all …]
H A Dtt3_lookaside1.c27 while( !timetostop(&err) ){ in lookaside1_thread_reader()
41 closedb(&err, &db); in lookaside1_thread_reader()
42 print_and_free_err(&err); in lookaside1_thread_reader()
53 sql_script(&err, &db, in lookaside1_thread_writer()
60 closedb(&err, &db); in lookaside1_thread_writer()
61 print_and_free_err(&err); in lookaside1_thread_writer()
67 Error err = {0}; in lookaside1() local
72 sql_script(&err, &db, in lookaside1()
85 closedb(&err, &db); in lookaside1()
87 setstoptime(&err, nMs); in lookaside1()
[all …]
H A Dtt3_checkpoint.c70 Error err = {0}; in checkpoint_starvation_reader() local
86 closedb(&err, &db); in checkpoint_starvation_reader()
88 print_and_free_err(&err); in checkpoint_starvation_reader()
93 Error err = {0}; in checkpoint_starvation_main() local
100 sql_script(&err, &db, in checkpoint_starvation_main()
106 setstoptime(&err, nMs); in checkpoint_starvation_main()
126 closedb(&err, &db); in checkpoint_starvation_main()
127 print_and_free_err(&err); in checkpoint_starvation_main()
131 Error err = {0}; in checkpoint_starvation_1() local
137 print_and_free_err(&err); in checkpoint_starvation_1()
[all …]
H A Dtt3_index.c21 while( !timetostop(&err) ){ in create_drop_index_thread()
22 opendb(&err, &db, "test.db", 0); in create_drop_index_thread()
24 sql_script(&err, &db, in create_drop_index_thread()
42 closedb(&err, &db); in create_drop_index_thread()
45 print_and_free_err(&err); in create_drop_index_thread()
50 Error err = {0}; in create_drop_index_1() local
54 opendb(&err, &db, "test.db", 1); in create_drop_index_1()
55 sql_script(&err, &db, in create_drop_index_1()
60 closedb(&err, &db); in create_drop_index_1()
62 setstoptime(&err, nMs); in create_drop_index_1()
[all …]
H A Dtt3_shared.c22 while( !timetostop(&err) ){ in shared_thread1()
24 opendb(&err, &db, "test.db", 0); in shared_thread1()
25 sql_script(&err, &db, "SELECT * FROM t1"); in shared_thread1()
26 closedb(&err, &db); in shared_thread1()
28 print_and_free_err(&err); in shared_thread1()
34 Error err = {0}; in shared1() local
39 opendb(&err, &db, "test.db", 1); in shared1()
41 closedb(&err, &db); in shared1()
43 setstoptime(&err, nMs); in shared1()
50 join_all_threads(&err, &threads); in shared1()
[all …]
H A Dasync2.test49 foreach err [list ioerr malloc-transient malloc-persistent] {
63 switch -- $err {
85 do_test async-$err-1.1.$n {
92 do_test async-$err-1.2.$n.1 {
97 do_test async-$err-1.2.$n.2 {
104 do_test async-$err-1.3.$n.1 {
109 do_test async-$err-1.3.$n.2 {
H A Dnotify3.test81 set err {{1 {unable to open database: test.db2}}}
109 0 0 0 0 $err SQLITE_LOCKED SQLITE_LOCKED_SHAREDCACHE
110 1 0 0 1 $err SQLITE_LOCKED_SHAREDCACHE SQLITE_LOCKED_SHAREDCACHE
111 2 0 1 0 $err SQLITE_LOCKED SQLITE_LOCKED_SHAREDCACHE
112 3 0 1 1 $err SQLITE_LOCKED_SHAREDCACHE SQLITE_LOCKED_SHAREDCACHE
113 4 1 0 0 $err SQLITE_LOCKED SQLITE_LOCKED_SHAREDCACHE
114 5 1 0 1 $err SQLITE_LOCKED_SHAREDCACHE SQLITE_LOCKED_SHAREDCACHE
H A Dthread_common.tcl33 set err [catch {
37 if {$err == 0} {
H A Dpg_common.tcl48 set err [pg_result $res -error]
49 if {$err!=""} { error $err }
H A Dselect6.test526 set err [list 1 {SELECTs to the left and right of UNION ALL do not have the same number of result c…
533 } $err
536 } $err
539 } $err
542 } $err
549 } $err
556 } $err
/sqlite-3.40.0/ext/wasm/common/
H A DSqliteTestUtil.js70 let err;
71 try{ f(); } catch(e){err=e;}
72 if(!err) throw new Error(msg || "Expected exception.");
91 let err;
92 try{ f(); } catch(e){err=e;}
93 if(!err) throw new Error(msg || "Expected exception.");
95 if(filter instanceof RegExp) pass = filter.test(err.message);
96 else if(filter instanceof Function) pass = filter(err);
97 else if('string' === typeof filter) pass = (err.message === filter);
99 throw new Error(msg || ("Filter rejected this exception: "+err.message));
/sqlite-3.40.0/ext/wasm/fiddle/
H A Dfiddle-worker.js109 const err = arguments[4];
110 if(err && 'ExitStatus'==err.name){
114 stderr("FATAL ERROR:", err.message);
116 wMsg('error', err);
118 console.error(err);
119 fiddleModule.setStatus('Exception thrown, see JavaScript console: '+err);
/sqlite-3.40.0/ext/wasm/api/
H A Dsqlite3-api-worker1.js615 }catch(err){
619 message: err.message,
620 errorClass: err.name,
623 if(err.stack){
624 result.stack = ('string'===typeof err.stack)
625 ? err.stack.split(/\n\s*/) : err.stack;
628 "Reporting it _here_ for the stack trace:",err,result);
H A Dsqlite3-api-opfs.js165 const promiseReject = function(err){ argument
167 return promiseReject_(err);
171 W.onerror = function(err){ argument
174 error("Error initializing OPFS asyncer:",err);
370 const err = state.s11n.deserialize();
371 if(err) error(op+"() async error:",...err);
H A Dsqlite3-worker1-promiser.js137 const err = config.onerror
165 else err("sqlite3Worker1Promiser() unhandled worker message:",ev);
/sqlite-3.40.0/autoconf/tea/win/
H A Dnmakehlp.c273 DWORD err = GetLastError(); in CheckForCompilerFeature() local
275 "Tried to launch: \"%s\", but got error [%u]: ", cmdline, err); in CheckForCompilerFeature()
278 FORMAT_MESSAGE_MAX_WIDTH_MASK, 0L, err, 0, (LPSTR)&msg[chars], in CheckForCompilerFeature()
280 WriteFile(GetStdHandle(STD_ERROR_HANDLE), msg, lstrlen(msg), &err,NULL); in CheckForCompilerFeature()
407 DWORD err = GetLastError(); in CheckForLinkerFeature() local
409 "Tried to launch: \"%s\", but got error [%u]: ", cmdline, err); in CheckForLinkerFeature()
412 FORMAT_MESSAGE_MAX_WIDTH_MASK, 0L, err, 0, (LPSTR)&msg[chars], in CheckForLinkerFeature()
414 WriteFile(GetStdHandle(STD_ERROR_HANDLE), msg, lstrlen(msg), &err,NULL); in CheckForLinkerFeature()
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5ea.test25 proc do_syntax_error_test {tn expr err} {
27 do_catchsql_test $tn {SELECT fts5_expr($se_expr)} [list 1 $err]
63 foreach {tn expr err} {
80 do_catchsql_test 3.$tn {SELECT fts5_expr($expr, 'name', 'addr')} [list 1 $err]
H A Dfts5eb.test22 proc do_syntax_error_test {tn expr err} {
24 do_catchsql_test $tn {SELECT fts5_expr($se_expr)} [list 1 $err]
/sqlite-3.40.0/
H A Dconfigure1808 if test -s conftest.err; then
1816 test ! -s conftest.err
2885 if test -s conftest.err; then
2891 rm -f conftest.er1 conftest.err
3943 cat conftest.err >&5
3946 cat conftest.err >&5
5825 cat conftest.err >&5
6681 cat conftest.err >&5
7020 cat conftest.err >&5
7125 cat out/conftest.err >&5
[all …]
/sqlite-3.40.0/ext/rbu/
H A DrbuB.test44 proc xLog {err msg} { lappend ::errlog $err }
/sqlite-3.40.0/tool/
H A Dlemon.c1987 if( err ){ in handleflags()
1989 errline(i,1,err); in handleflags()
2001 if( err ){ in handleflags()
2003 errline(i,1,err); in handleflags()
2029 if( err ){ in handleswitch()
2031 errline(i,0,err); in handleswitch()
2039 if( err ){ in handleswitch()
2049 if( err ){ in handleswitch()
2050 fprintf(err, in handleswitch()
2061 if( err ){ in handleswitch()
[all …]
/sqlite-3.40.0/ext/wasm/
H A Dtester1.js167 let err;
168 try{ f(); } catch(e){err=e;}
169 if(!err) throw new Error(msg || "Expected exception.");
188 let err;
189 try{ f(); } catch(e){err=e;}
190 if(!err) throw new Error(msg || "Expected exception.");
192 if(filter instanceof RegExp) pass = filter.test(err.message);
193 else if(filter instanceof Function) pass = filter(err);
194 else if('string' === typeof filter) pass = (err.message === filter);
196 throw new Error(msg || ("Filter rejected this exception: "+err.message));
[all …]
/sqlite-3.40.0/ext/fts1/
H A Dfulltext.c636 if( rc!=SQLITE_OK ) goto err; in sql_step_statement()
640 if( rc!=SQLITE_OK ) goto err; in sql_step_statement()
648 err: in sql_step_statement()
1321 goto err; in build_terms()
1333 err: in build_terms()
1373 if( rc!=SQLITE_OK ) goto err; in index_insert_term()
1379 err: in index_insert_term()

123