New test cases for automatic indices. New testcase() macros associated
with column-used bitmasks. FossilOrigin-Name: e1aa48ace7e43c3805278120b8228ee597e2cee7
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user