Fix an error in the OP_SeekScan opcode added by check-in [4a43430fd23f8835].
Problem reported by [forum:/forumpost/8cc1dc0fe9|forum post 8cc1dc0fe9]. FossilOrigin-Name: 651a13fcd16f03e89eb6228c9f3250e25910b9bbe2637f627f65ff78f8ba2059
This commit is contained in:
@@ -419,4 +419,14 @@ do_execsql_test skipscan1-4.10 {
|
||||
AND a <= 10;
|
||||
} {3}
|
||||
|
||||
# 2023-03-24 https://sqlite.org/forum/forumpost/8cc1dc0fe9
|
||||
#
|
||||
reset_db
|
||||
do_execsql_test skipscan1-5.0 {
|
||||
CREATE TABLE t1(a TEXT, UNIQUE(a,a,a));
|
||||
INSERT INTO t1 VALUES (hex(zeroblob(241))),(1),(2),(3);
|
||||
ANALYZE;
|
||||
SELECT max(a) FROM t1 WHERE a IN t1;
|
||||
} {3}
|
||||
|
||||
finish_test
|
||||
|
||||
Reference in New Issue
Block a user