| Index: third_party/sqlite/src/test/wherefault.test
|
| diff --git a/third_party/sqlite/src/test/where8m.test b/third_party/sqlite/src/test/wherefault.test
|
| similarity index 84%
|
| rename from third_party/sqlite/src/test/where8m.test
|
| rename to third_party/sqlite/src/test/wherefault.test
|
| index 4fce3db7c3bc6de78516ecb4b74e9d4500199c7e..60330a92ddfab800ec66360d82a8da63ee534ad9 100644
|
| --- a/third_party/sqlite/src/test/where8m.test
|
| +++ b/third_party/sqlite/src/test/wherefault.test
|
| @@ -9,17 +9,19 @@
|
| #
|
| #***********************************************************************
|
| # This file implements regression tests for SQLite library. The focus
|
| -# is testing of where.c. More specifically, the focus is the optimization
|
| -# of WHERE clauses that feature the OR operator.
|
| +# is testing of where.c. More specifically, the focus is on handling OOM
|
| +# errors within the code that optimizes WHERE clauses that feature the
|
| +# OR operator.
|
| #
|
| -# $Id: where8m.test,v 1.3 2009/06/05 17:09:12 drh Exp $
|
|
|
| set testdir [file dirname $argv0]
|
| source $testdir/tester.tcl
|
|
|
| source $testdir/malloc_common.tcl
|
|
|
| -do_malloc_test where8m-1 -sqlprep {
|
| +set testprefix wherefault
|
| +
|
| +do_malloc_test 1 -sqlprep {
|
| CREATE TABLE t1(a, b, c);
|
| CREATE INDEX i1 ON t1(a);
|
| CREATE INDEX i2 ON t1(b);
|
| @@ -37,7 +39,7 @@ do_malloc_test where8m-1 -sqlprep {
|
| a BETWEEN 1 AND 3 AND b < 5 AND b > 2 AND c = 4;
|
| }
|
|
|
| -do_malloc_test where8m-2 -tclprep {
|
| +do_malloc_test 2 -tclprep {
|
| db eval {
|
| BEGIN;
|
| CREATE TABLE t1(a, b, c);
|
|
|