mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Fix some problems with multi-column IN(SELECT...) processing.
FossilOrigin-Name: 719a3b2035a335ca8b9704646b1d641011e3ea0e
This commit is contained in:
11
test/in.test
11
test/in.test
@ -641,4 +641,15 @@ do_test in-13.X {
|
||||
db nullvalue ""
|
||||
} {}
|
||||
|
||||
# At one point the following was causing valgrind to report a "jump
|
||||
# depends on unitialized location" problem.
|
||||
#
|
||||
do_execsql_test in-14.0 {
|
||||
CREATE TABLE c1(a);
|
||||
INSERT INTO c1 VALUES(1), (2), (4), (3);
|
||||
}
|
||||
do_execsql_test in-14.1 {
|
||||
SELECT * FROM c1 WHERE a IN (SELECT a FROM c1) ORDER BY 1
|
||||
} {1 2 3 4}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user