1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix misc3.test so that it works with OMIT_MERGE_SORT builds.

FossilOrigin-Name: 87946c627f7230bea3739fd6aeec3e56115a3f93
This commit is contained in:
dan
2011-09-24 09:54:14 +00:00
parent 5209132a48
commit a682a6b578
3 changed files with 12 additions and 8 deletions

View File

@ -270,7 +270,11 @@ ifcapable {explain} {
CREATE UNIQUE INDEX ex1i1 ON ex1(a);
EXPLAIN REINDEX;
}]
regexp { SorterCompare \d+ \d+ \d+ } $x
ifcapable mergesort {
regexp { SorterCompare \d+ \d+ \d+ } $x
} else {
regexp { IsUnique \d+ \d+ \d+ \d+ } $x
}
} {1}
if {[regexp {16} [db one {PRAGMA encoding}]]} {
do_test misc3-6.11-utf16 {