Lines Matching refs:ii
46 CREATE VIRTUAL TABLE t1 USING ${module}(ii, $cols);
47 CREATE TABLE t2 (ii, $cols);
53 for {set ii 0} {$ii < $::NROW} {incr ii} {
54 #puts "Row $ii"
61 #puts "INSERT INTO t2 VALUES($ii, $values)"
62 set rc [catch {db eval "INSERT INTO t1 VALUES($ii, $values)"}]
64 incr ii -1
66 db eval "INSERT INTO t2 VALUES($ii, $values)"
75 set t1 [execsql {SELECT * FROM t1 ORDER BY ii}]
76 set t2 [execsql {SELECT * FROM t2 ORDER BY ii}]
88 for {set ii 0} {$ii < $::NSELECT} {incr ii} {
89 do_test rtree2-$module.$nDim.4.$ii.1 {
94 set col ii
104 set t1 [execsql "SELECT * FROM t1 WHERE $where ORDER BY ii"]
105 set t2 [execsql "SELECT * FROM t2 WHERE $where ORDER BY ii"]
113 #set t1 [execsql "SELECT * FROM t1 WHERE $where ORDER BY ii"]
120 for {set ii 0} {$ii < $::NROW} {incr ii $::NDEL} {
122 do_test rtree2-$module.$nDim.5.$ii.1 {
123 execsql "DELETE FROM t2 WHERE ii <= $::ii"
124 execsql "DELETE FROM t1 WHERE ii <= $::ii"
126 set t1 [execsql {SELECT * FROM t1 ORDER BY ii}]
127 set t2 [execsql {SELECT * FROM t2 ORDER BY ii}]
135 do_rtree_integrity_test rtree2-$module.$nDim.5.$ii.2 t1