1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix a crash that could occur under certain circumstances if the vectors on either side of a comparison operator were of a different size.

FossilOrigin-Name: 42670935aba152ba774c2a8bdcbe72b943309d68
This commit is contained in:
dan
2016-09-05 09:44:45 +00:00
parent 80aa545337
commit 5c3340bd47
6 changed files with 42 additions and 17 deletions

View File

@ -47,6 +47,8 @@ foreach {tn s error} {
6 "SELECT * FROM t1 WHERE (a, b) IN (SELECT * FROM t1)"
{sub-select returns 3 columns - expected 2}
7 "SELECT * FROM t1 WHERE (c, c) <= 1" {row value misused}
8 "SELECT * FROM t1 WHERE (b, b) <= 1" {row value misused}
} {
do_catchsql_test 2.$tn "$s" [list 1 $error]
}