Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 38) sorted by relevance

12

/sqlite-3.40.0/ext/wasm/
H A Ddemo-123.js111 log("row ",++this.counter,"=",row);
112 }.bind({counter: 0}) property
120 log("row ",++this.counter,"=",JSON.stringify(row));
121 }.bind({counter: 0}) property
129 log("row ",++this.counter,"get(0) =",row.get(0));
130 }.bind({counter: 0}) property
138 log("row ",++this.counter,"b =",row);
139 }.bind({counter: 0}) property
147 log("row ",++this.counter,"a =",value);
148 }.bind({counter: 0}) property
H A Ddemo-worker1-promiser.js33 logHtml("","Total test count:",T.counter+". Total time =",(performance.now() - startTime),"ms");
157 if(undefined === f.counter) f.counter = 0;
166 ++f.counter;
176 T.assert(3===resultRowTest1.counter);
177 resultRowTest1.counter = 0;
188 f.counter = ev.rowNumber;
198 T.assert(3===resultRowTest2.counter);
208 f.counter = ev.rowNumber;
219 T.assert(2===resultRowTest3.counter);
H A Ddemo-worker1.js67 logHtml("","Total test count:",T.counter+". Total time =",(performance.now() - startTime),"ms");
121 if(undefined === f.counter) f.counter = 0;
129 ++f.counter;
203 T.assert(3===dbMsgHandler.resultRowTest1.counter);
204 dbMsgHandler.resultRowTest1.counter = 0;
H A Dtester1.js139 counter: 0, property
157 ++this.counter;
166 ++this.counter;
187 ++this.counter;
203 ++this.counter;
210 ++this.counter;
717 let counter = 0;
722 ++counter;
724 if(3===counter){
1270 ++counter;
[all …]
/sqlite-3.40.0/test/
H A Dprogress.test47 set counter 0
48 db progress 1 "[namespace code {incr counter}] ; expr 0"
52 expr $counter > 1
56 } {::namespace inscope :: {incr counter} ; expr 0}
64 set counter 0
65 db progress 1 "[namespace code {incr counter}] ; expr 1"
69 list $counter $rc
127 set counter 0
128 db progress 0 "[namespace code {incr counter}] ; expr 0"
132 set counter
H A Dasync2.test27 CREATE TABLE counter(c);
28 INSERT INTO counter(c) VALUES (1);
33 UPDATE counter SET c = 2;
39 UPDATE counter SET c = 3;
44 UPDATE counter SET c = 'FIN';
82 set c [db one {SELECT c FROM counter LIMIT 1}]
89 } {counter}
H A Dalias.test28 variable counter 0
30 variable counter
31 incr counter
32 return $counter
35 variable counter
36 set counter 0
H A Dcapi2.test417 CREATE TABLE t3(x counter);
447 } {SQLITE_ROW 1 1 {x counter}}
456 } {SQLITE_ROW 1 2 {x counter}}
465 } {SQLITE_ROW 1 3 {x counter}}
474 } {SQLITE_ROW 1 4 {x counter}}
483 } {SQLITE_ROW 1 5 {x counter}}
495 } {SQLITE_ROW 1 6 {x counter}}
504 } {SQLITE_ROW 1 7 {x counter}}
513 } {SQLITE_ROW 1 8 {x counter}}
522 } {SQLITE_ROW 1 9 {x counter}}
[all …]
H A Dexclusive2.test100 # does not modify the freelist, then reset the pager change-counter
104 # It can't tell the db has changed because we reset the change-counter.
105 # 9: Increment the change-counter.
107 # sees the change-counter has been incremented and discards the
190 # 5-6: Modify the dataase change-counter. Connection 1 still works
192 # change-counter.
194 # SQLite detects the modified change-counter and discards the
262 # These tests - exclusive2-3.X - verify that the pager change-counter
264 # mode. In normal mode, the change-counter is incremented once
H A Dtrigger6.test45 db function counter trigger6_counter
47 INSERT INTO t1 VALUES(1,counter());
60 INSERT INTO t1 VALUES(2,counter(2,3)+4);
72 UPDATE t1 SET y=counter(5);
H A Dwindow6.test181 "counter" INTEGER NOT NULL,
185 INSERT INTO "sample" (counter, value)
190 SELECT "counter", "value", RANK() OVER w AS "rank"
192 WINDOW w AS (PARTITION BY "counter" ORDER BY "value" DESC)
193 ORDER BY "counter", RANK() OVER w
199 SELECT "counter", "value", SUM("value") OVER
H A Dvtab7.test73 set ::callbacks(xSync,abc) {incr ::counter}
74 set ::counter 0
78 set ::counter
H A Drdonly.test81 # write-version of the file (and the change-counter, so that the
89 hexio_write test.db 24 11223344 ; # change-counter
H A Dio.test78 # and page 1 (db change-counter page).
94 # of abc and the change-counter page.
115 # write to 3 pages to do this: the change-counter, the root-page and
151 # written because page 1 - the change-counter page - is written using
152 # an out-of-band method that bypasses the write counter.
164 # Test that the journal file is not created and the change-counter is
H A Dmalloc.test728 # When written, this test provoked an obscure change-counter bug.
731 # after the database file change-counter has been written but
736 # the malloc failure and rollback, the change counter will not
765 # the malloc failure occurs after updating the change counter but
776 # the change-counter left as it is.
785 # one of the magic iterations and the change counter was not modified,
H A Dbackup4.test18 # schema cookie and change counter. Doing that could cause other clients
H A Dtester.tcl642 proc set_test_counter {counter args} {
644 set ::TC($counter) [lindex $args 0]
646 set ::TC($counter)
H A Dtkt2409.test33 # tkt-2409-2.*: Cause a cache-spill while updating the change-counter
H A Dvacuum2.test48 # Ticket #2518. Make sure vacuum increments the change counter
H A Dpager1.test258 CREATE TABLE counter(
262 INSERT INTO counter VALUES(0, 0);
264 UPDATE counter SET i = i+1;
267 UPDATE counter SET u = u+1;
270 execsql { SELECT * FROM counter }
279 SELECT * FROM counter;
284 do_execsql_test pager1-3.4 { SELECT * FROM counter } {3 0}
749 # two database pages (and page 1 - the change counter).
/sqlite-3.40.0/ext/wasm/common/
H A DSqliteTestUtil.js35 counter: 0, property
53 ++this.counter;
62 ++this.counter;
69 ++this.counter;
90 ++this.counter;
106 ++this.counter;
113 ++this.counter;
/sqlite-3.40.0/ext/fts5/test/
H A Dfts5_common.tcl246 set counter 0
248 upvar $O(-pc) counter
324 lappend res "$counter.$iCol.$a"
327 incr counter
/sqlite-3.40.0/ext/wasm/jaccwabyt/
H A Djaccwabyt.md1025 counter-reset: h1 -1;
1032 counter-reset: h2;
1040 counter-increment: h1;
1041 content: counter(h1) ;
1046 counter-increment: h2;
1047 content: counter(h1) "." counter(h2);
1052 counter-reset: h3;
1055 counter-increment: h3;
1056 content: counter(h1) "." counter(h2) "." counter(h3);
/sqlite-3.40.0/ext/wasm/api/
H A Dsqlite3-api-oo1.js74 console.log("SQL TRACE #"+(++this.counter),
77 }.bind({counter: 0})); property
/sqlite-3.40.0/doc/
H A Dvfs-shm.txt97 last valid frame counter in the header of the wal-index back to zero.

12