1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

The expression "(X IS FALSE) IN (FALSE)" does not imply that X is NOT NULL.

Ticket [f8f472cbc77ba9c9]

FossilOrigin-Name: dd66134817ecbda01c59a05ad0d6ac44bee700ab10cd2119c869dd69af293fe2
This commit is contained in:
drh
2019-08-30 16:00:58 +00:00
parent 7a231b4973
commit ae144a1c9f
4 changed files with 14 additions and 9 deletions

View File

@@ -440,6 +440,7 @@ do_execsql_test index6-14.2 {
# 2019-08-30
# Ticket https://www.sqlite.org/src/info/a6408d42b9f44462
# Ticket https://www.sqlite.org/src/info/fba33c8b1df6a915
# https://sqlite.org/src/info/bac716244fddac1fe841
#
do_execsql_test index6-15.1 {
DROP TABLE t0;
@@ -457,5 +458,9 @@ do_execsql_test index6-15.3 {
do_execsql_test index6-15.4 {
SELECT 1 FROM t0 WHERE FALSE BETWEEN FALSE AND (t0.c0 IS FALSE);
} {1}
do_execsql_test index6-15.5 {
SELECT 1 FROM t0 WHERE (c0 IS FALSE) IN (FALSE);
} {1}
finish_test