| Index: third_party/sqlite/src/test/in.test
|
| diff --git a/third_party/sqlite/src/test/in.test b/third_party/sqlite/src/test/in.test
|
| index 2c38a0f4caab57517f5ef3e287d9bd1a1d3bc1de..515e598c12e3edbba004967eb46aa7bcc286a840 100644
|
| --- a/third_party/sqlite/src/test/in.test
|
| +++ b/third_party/sqlite/src/test/in.test
|
| @@ -258,17 +258,29 @@ do_test in-7.5 {
|
| SELECT a FROM t1 WHERE a IN (5) AND b NOT IN ();
|
| }
|
| } {5}
|
| -do_test in-7.6 {
|
| +do_test in-7.6.1 {
|
| execsql {
|
| SELECT a FROM ta WHERE a IN ();
|
| }
|
| } {}
|
| +do_test in-7.6.2 {
|
| + db status step
|
| +} {0}
|
| do_test in-7.7 {
|
| execsql {
|
| SELECT a FROM ta WHERE a NOT IN ();
|
| }
|
| } {1 2 3 4 6 8 10}
|
|
|
| +do_test in-7.8.1 {
|
| + execsql {
|
| + SELECT * FROM ta LEFT JOIN tb ON (ta.b=tb.b) WHERE ta.a IN ();
|
| + }
|
| +} {}
|
| +do_test in-7.8.2 {
|
| + db status step
|
| +} {0}
|
| +
|
| do_test in-8.1 {
|
| execsql {
|
| SELECT b FROM t1 WHERE a IN ('hello','there')
|
| @@ -320,7 +332,7 @@ do_test in-10.2 {
|
| catchsql {
|
| INSERT INTO t5 VALUES(4);
|
| }
|
| -} {1 {constraint failed}}
|
| +} {1 {CHECK constraint failed: t5}}
|
|
|
| # Ticket #1821
|
| #
|
| @@ -431,6 +443,7 @@ do_test in-12.9 {
|
| } {1 {SELECTs to the left and right of INTERSECT do not have the same number of result columns}}
|
| }
|
|
|
| +ifcapable compound {
|
| do_test in-12.10 {
|
| catchsql {
|
| SELECT * FROM t2 WHERE a IN (
|
| @@ -459,6 +472,7 @@ do_test in-12.13 {
|
| );
|
| }
|
| } {1 {only a single result allowed for a SELECT that is part of an expression}}
|
| +}; #ifcapable compound
|
|
|
|
|
| #------------------------------------------------------------------------
|
|
|