Home
last modified time | relevance | path

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

12345678910>>...18

/sqlite-3.40.0/test/
H A Dbackup_ioerr.test66 # Turn off IO error simulation.
76 # The following procedure runs with SQLite's IO error simulation
89 # If an IO error occurs, verify that:
95 # error message remain unchanged.
100 # handle has been populated with an error code and error message.
153 # Disable IO error simulation.
174 # Enable IO error simulation.
189 } {SQLITE_OK {not an error}}
198 } {disk I/O error}
251 } {SQLITE_OK {not an error}}
[all …]
H A De_blobwrite.test43 # SQLITE_OK. Otherwise, an error code or an extended error code is
72 # the error code as the Tcl exception message.
88 # function sets the database connection error code and message
92 if {$errcode == "SQLITE_MISUSE"} { error "test proc misuse!" }
118 SQLITE_ERROR {SQL logic error}
124 blob_write_error_test 2.2.1 $B 30 $blob 10 SQLITE_OK {not an error}
130 SQLITE_ERROR {SQL logic error}
133 SQLITE_ERROR {SQL logic error}
137 # handle fails with an error code of SQLITE_ABORT.
173 blob_write_error_test 3.1.1 $B 5 $blob 10 SQLITE_OK {not an error}
[all …]
H A De_uri.test139 foreach {tn uri error} "
150 } $error
252 # value is an error
256 foreach {tn uri error} "
257 1 {file:test.db?mode=ro} {not an error}
266 do_test 7.$tn { open_uri_error $uri } $error
324 foreach {tn uri flags error} {
345 do_test 9.$tn { set e } $error
352 foreach {tn uri error} "
425 set RES(0) {not an error}
[all …]
H A Dsysfault.test76 1 ENOMEM {{disk I/O error}}
97 1 EAGAIN {{database is locked} {disk I/O error}}
98 2 ETIMEDOUT {{database is locked} {disk I/O error}}
99 3 EBUSY {{database is locked} {disk I/O error}}
100 4 EINTR {{database is locked} {disk I/O error}}
101 5 ENOLCK {{database is locked} {disk I/O error}}
102 6 EACCES {{database is locked} {disk I/O error}}
104 8 EDEADLK {{disk I/O error}}
105 9 ENOMEM {{disk I/O error}}
138 # Check that a single EINTR error does not affect processing.
[all …]
H A Dalterdropcol2.test46 proc do_atdc_error_test {tn schema atdc error} {
91 error in table x1 after drop column: no such column: c
102 error in index idx after drop column: no such column: z 1
110 error in index idx after drop column: no such column: a
121 error in index i1 after drop column: no such column: a
132 error in table x1234 after drop column: no such column: a
153 error in table c1 after drop column: no such column: v
160 error in table c1 after drop column: no such column: u
174 error in trigger tr1 after drop column: no such column: new.w
182 error in view v1 after drop column: no such column: w
[all …]
H A Derrmsg.test12 # error-message associated with an sqlite3_step() error is available
50 proc sql_error {msg} { error $msg }
54 # Test error messages returned by user-defined SQL functions.
59 SQLITE_ERROR {SQL logic error}
70 # Test error messages generated directly by VDBE code (e.g. constraint
80 SQLITE_ERROR {SQL logic error}
94 # change invalidates the SQL statement itself the error message is returned
104 SQLITE_ERROR {SQL logic error}
H A Dcffault.test50 if {[sqlite3_get_autocommit db]} { error "Transaction rolled back!" }
51 faultsim_test_result {0 {}} {1 {disk I/O error}}
70 faultsim_test_result {0 {1 3 3 5 5 7 7 9}} {1 {disk I/O error}}
103 faultsim_test_result {0 {1 3 3 5 5 7 7 9 9 11}} {1 {disk I/O error}}
118 if {[sqlite3_get_autocommit db]} { error "Transaction rolled back!" }
119 faultsim_test_result {0 {}} {1 {disk I/O error}}
134 if {[sqlite3_get_autocommit db]} { error "Transaction rolled back!" }
135 faultsim_test_result {0 {}} {1 {disk I/O error}}
153 faultsim_test_result {0 {1 1 3 3 5 5 7 7 9 9}} {1 {disk I/O error}}
H A Dswarmvtab.test129 # Test some error conditions:
134 # 2.4: Syntax error in SELECT statement.
191 } {1 {sql error: near "FROMdir": syntax error}}
194 } {1 {sql error: near "FROMdir": syntax error}}
204 error "fetch_db error!"
216 } {1 {sql error: no such function: fetch_db_no_such_function}}
225 } {1 {fetch_db error!}}
242 do_catchsql_test 3.3.2 { SELECT * FROM xyz } {1 {fetch_db error!}}
H A Dsnapshot_fault.test51 error "error is $msg"
58 if {$res != "1 2 3 ok"} { error "res is $res" }
102 error "error is $msg"
109 error "TEST HAS FAILED"
115 if {$res != "1 2 3 ok"} { error "res is $res" }
146 error $msg
156 if {$res != "1 2 3 ok"} { error "res is $res" }
192 # extra branch of error handling logic in snapshot_recover().
H A Dincrblob_err.test41 if {$rc} { error "out of memory" }
53 error "out of memory"
55 error "Bad data read..."
68 error "out of memory"
70 error "Bad data read..."
74 error "out of memory"
113 # "blobs". This forces the IO error to occur while reading a pointer
129 # "blobs". This forces the IO error to occur while reading a pointer
H A Dwindow3.test382 error "list element [set i] does not match: got=[set r] expected=[set r2]"
399 error "list element [set i] does not match: got=[set r] expected=[set r2]"
416 error "list element [set i] does not match: got=[set r] expected=[set r2]"
433 error "list element [set i] does not match: got=[set r] expected=[set r2]"
450 error "list element [set i] does not match: got=[set r] expected=[set r2]"
467 error "list element [set i] does not match: got=[set r] expected=[set r2]"
484 error "list element [set i] does not match: got=[set r] expected=[set r2]"
501 error "list element [set i] does not match: got=[set r] expected=[set r2]"
518 error "list element [set i] does not match: got=[set r] expected=[set r2]"
535 error "list element [set i] does not match: got=[set r] expected=[set r2]"
[all …]
H A De_blobopen.test272 test_blob_open 8.1.1 main t3 a 1 0 SQLITE_OK "not an error"
273 test_blob_open 8.1.2 main t3 b 1 0 SQLITE_OK "not an error"
274 test_blob_open 8.1.3 main t3 c 1 0 SQLITE_OK "not an error"
275 test_blob_open 8.1.4 main t3 d 1 0 SQLITE_OK "not an error"
276 test_blob_open 8.1.5 main t3 e 1 0 SQLITE_OK "not an error"
277 test_blob_open 8.1.6 main t3 f 1 0 SQLITE_OK "not an error"
296 test_blob_open 9.1 main c1 b 45 0 SQLITE_OK "not an error"
297 test_blob_open 9.2 main c1 b 45 1 SQLITE_OK "not an error"
299 test_blob_open 9.3 main c1 b 45 0 SQLITE_OK "not an error"
324 } {SQLITE_OK {not an error}}
[all …]
H A Dmalloc.test48 error "out of memory"
294 error "out of memory"
318 error "Wrong error message: $rc"
327 error $err
357 if {$rc} { error $msg }
374 error $msg
411 error "out of memory"
418 error "out of memory"
662 error "out of memory"
824 proc f {args} { error "Quite a long error!" }
[all …]
H A Dioerr5.test13 # memory from a pager that is in the error-state, SQLite does not
15 # once the pager is in error state).
33 # UTF-16 APIs. The text representation of an SQLite error code is returned
96 # interrupted by a persistent IO error, the pager will transition to
104 # Now try to commit the transaction. Cause an IO error to occur
105 # within this operation, which moves the pager into the error state.
126 # from the pager that is in error state. Including that associated
137 # memory from the pager in error state.
195 } {1 {disk I/O error}}
H A Dwalfault.test42 # Test that the connection that encountered an error as part of
47 # one that hit the error in journal_mode="WAL") might return "wal" even
59 if { $jm!=$jm2 } { error "Journal modes do not match: $jm $jm2" }
60 if { $testrc==0 && $jm!="wal" } { error "Journal mode is not WAL" }
229 if {$n != 16384 && $n != 0} { error "Incorrect number of rows: $n" }
256 if {$n != 4 && $n != 0} { error "Incorrect number of rows: $n" }
291 if {$n != 1} { error "Incorrect number of rows: $n" }
330 if {$n != 1 && $n != 2} { error "Incorrect number of rows: $n" }
371 if {$n != "64 51200"} { error "Incorrect data: $n" }
447 if {$rc != "SQLITE_OK"} { error [sqlite3_errmsg db] }
[all …]
H A Dioerr2.test50 # Run an integrity-check. If "disk I/O error" is returned, the
51 # pager must be in error state. In this case open a new database
55 if {$rc && ($msg eq "disk I/O error" || $msg eq "database is locked")} {
61 error $msg
115 # When this test was written, an IO error within the UPDATE statement caused
118 # is run successfully. At this point the next IO error occurs within the
119 # SELECT - throwing the "disk I/O error" that the test case now expects.
139 } {1 {disk I/O error}} ;# used to be "{1 {abort due to ROLLBACK}}"
H A Dwin32lock.test58 do_test win32lock-1.2-$delay1-error {
60 } {disk I/O error}
77 puts "Timed out waiting for \"ok\" and \"error\" results."
107 do_test win32lock-2.2-$delay1-error {
109 } {disk I/O error}
126 puts "Timed out waiting for \"ok\" and \"error\" results."
177 } {{1 {disk I/O error}} {0 0} SQLITE_IOERR_LOCK}
H A Dvtab7.test156 # the xCommit callback causes a misuse error.
167 # These tests, vtab7-4.*, test that an SQLITE_LOCKED error is returned
176 set ::error [catchsql { INSERT INTO def2 VALUES(1, 2, 3) }]
181 set ::error
185 set ::error [catchsql { CREATE VIRTUAL TABLE def3 USING echo(def) }]
190 set ::error
195 set ::error [catchsql { DROP TABLE def2 }]
201 set ::error
H A De_walckpt.test47 # file use this wrapper. It's sole purpose is to throw an error if the
51 # sqlite3_wal_checkpoint_v2() interface sets the error information that
73 error $msg
111 error "[sqlite3_errcode $db] - $msg"
122 error "$rc - [sqlite3_errmsg $db]"
607 0 -1001 {1 {SQLITE_MISUSE - not an error}}
608 1 -1 {1 {SQLITE_MISUSE - not an error}}
613 6 4 {1 {SQLITE_MISUSE - not an error}}
614 7 114 {1 {SQLITE_MISUSE - not an error}}
615 8 1000000 {1 {SQLITE_MISUSE - not an error}}
[all …]
H A Ddecimal.test17 if {[catch {load_static_extension db decimal} error]} {
18 puts "Skipping decimal tests, hit load error: $error"
141 if {[catch {load_static_extension db ieee754} error]} {
142 puts "Skipping ieee754 tests, hit load error: $error"
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5config.test69 } {1 {SQL logic error}}
171 } {1 {SQL logic error}}
174 } {1 {SQL logic error}}
177 } {1 {SQL logic error}}
181 } {1 {SQL logic error}}
184 } {1 {SQL logic error}}
187 } {1 {SQL logic error}}
194 } {1 {SQL logic error}}
197 } {1 {SQL logic error}}
207 } {1 {SQL logic error}}
[all …]
H A Dfts5ea.test64 1 {AND} {fts5: syntax error near "AND"}
65 2 {abc def AND} {fts5: syntax error near ""}
66 3 {abc OR AND} {fts5: syntax error near "AND"}
67 4 {(a OR b) abc} {fts5: syntax error near "abc"}
68 5 {NEaR (a b)} {fts5: syntax error near "NEaR"}
69 6 {NEa (a b)} {fts5: syntax error near "NEa"}
70 7 {(a OR b) NOT c)} {fts5: syntax error near ")"}
73 10 {NOT} {fts5: syntax error near "NOT"}
77 13 {NEAR(a b, // )} {fts5: syntax error near "/"}
95 } {1 {fts5: syntax error near "|"}}
H A Dfts5tokenizer.test52 } {1 {error in tokenizer constructor}}
66 error "failed"
78 " {1 {error in tokenizer constructor}}
84 } {1 {parse error in "tokenize = tcl abc"}}
116 # 5.2.*: An option without an argument is an error.
138 } {1 {error in tokenizer constructor}}
141 } {1 {error in tokenizer constructor}}
186 } {1 {error in tokenizer constructor}}
189 } {1 {error in tokenizer constructor}}
194 } {1 {error in tokenizer constructor}}
[all …]
/sqlite-3.40.0/ext/wasm/
H A Ddemo-worker1.js36 const error = console.error.bind(console);
40 error("onerror",event);
116 error: function(ev){
117 error("ERROR from the worker:",ev);
311 dbMsgHandler.error(ev);
334 error("Exception while handling db result message",
/sqlite-3.40.0/ext/rtree/
H A Drtreedoc3.test112 error "priority queue is empty!"
172 if {$P(iLevel)==0} { error "query callback mismatch (1)" }
179 error "coordinate mismatch in query callback (1)"
182 if {$a!=$b} { error "coordinate mismatch in query callback (2)" }
188 error "iLevel mismatch in query callback (1)"
203 error "unknown result: $r - expected \"fully\", \"partly\" or \"not\""
229 if {$N(iLevel)!=0} { error "result row mismatch (1)" }
234 if {$N(iLevel)!=0} { error "result row mismatch (2)" }
237 if {$id!=$N(iRowid)} { error "result row mismatch (3)" }
245 error "priority queue is not empty!"

12345678910>>...18