mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Fix test case result on a DELETE with an INDEXED BY clause due to
improvements in the query planner at [d901837fea1ed54d] FossilOrigin-Name: 020dbfa2aef20e5872cc3e785d99f45903843401292114b5092b9c8aa829b9c3
This commit is contained in:
@ -218,18 +218,22 @@ do_execsql_test 4.1 {
|
||||
ROLLBACK;
|
||||
} {3 4 5 6}
|
||||
|
||||
do_catchsql_test 4.2 {
|
||||
DELETE FROM x1 INDEXED BY x1bc WHERE d=3 LIMIT 1;
|
||||
} {1 {no query solution}}
|
||||
# 2020-06-03: Query planner improved so that a solution is possible.
|
||||
#
|
||||
#do_catchsql_test 4.2 {
|
||||
# DELETE FROM x1 INDEXED BY x1bc WHERE d=3 LIMIT 1;
|
||||
#} {1 {no query solution}}
|
||||
|
||||
do_execsql_test 4.3 {
|
||||
DELETE FROM x1 INDEXED BY x1bc WHERE b=3 LIMIT 1;
|
||||
SELECT a FROM x1;
|
||||
} {1 2 3 4 6}
|
||||
|
||||
do_catchsql_test 4.4 {
|
||||
UPDATE x1 INDEXED BY x1bc SET d=5 WHERE d=3 LIMIT 1;
|
||||
} {1 {no query solution}}
|
||||
# 2020-06-03: Query planner improved so that a solution is possible.
|
||||
#
|
||||
#do_catchsql_test 4.4 {
|
||||
# UPDATE x1 INDEXED BY x1bc SET d=5 WHERE d=3 LIMIT 1;
|
||||
#} {1 {no query solution}}
|
||||
|
||||
do_execsql_test 4.5 {
|
||||
UPDATE x1 INDEXED BY x1bc SET d=5 WHERE b=2 LIMIT 1;
|
||||
|
Reference in New Issue
Block a user