New test cases for automatic indices. New testcase() macros associated

with column-used bitmasks.

FossilOrigin-Name: e1aa48ace7e43c3805278120b8228ee597e2cee7
This commit is contained in:
drh
2010-04-08 15:01:44 +00:00
parent 8bd5412b90
commit 7caba669a6
4 changed files with 26 additions and 11 deletions
+13
View File
@@ -89,5 +89,18 @@ do_test autoindex1-212 {
} {7}
# Modify the second table of the join while the join is in progress
#
do_test autoindex1-300 {
set r {}
db eval {SELECT b, d FROM t1 JOIN t2 ON (c=a)} {
lappend r $b $d
db eval {UPDATE t2 SET d=d+1}
}
set r
} {11 911 22 922 33 933 44 944 55 955 66 966 77 977 88 988}
do_test autoindex1-310 {
db eval {SELECT d FROM t2 ORDER BY d}
} {919 930 941 952 963 974 985 996}
finish_test