Fix an issue with the LIKE operator when it includes the "ESCAPE '_'" clause.

Ticket [c0aeea67d58ae0fd].

FossilOrigin-Name: 27d4117980d125975b5e70eeea58a6ab07bcf066e71b5fcb81b822e05afdbab0
This commit is contained in:
drh
2021-02-15 17:02:01 +00:00
parent f2b32e8915
commit 33941691a5
4 changed files with 18 additions and 10 deletions
+7
View File
@@ -1131,4 +1131,11 @@ do_execsql_test 17.1 {
SELECT id FROM t1 WHERE x LIKE 'abc__' ESCAPE '_';
} {2}
# 2021-02-15 ticket c0aeea67d58ae0fd
#
do_execsql_test 17.1 {
SELECT 'x' LIKE '%' ESCAPE '_';
} {1}
finish_test