Merge 'Escape character is ignored in LIKE function' from lgualtieri75

Fixes #1051

Reviewed-by: Preston Thorpe (@PThorpe92)

Closes #1074
This commit is contained in:
Pekka Enberg
2025-03-04 10:23:09 +02:00
3 changed files with 28 additions and 4 deletions

View File

@@ -74,6 +74,10 @@ John|Johnson
Stephen|Stephens
Robert|Roberts}
do_execsql_test where-like-another-column-prefix {
select count(*) from users where last_name like 'Pe#rry' escape '#';
} {19}
do_execsql_test where-like-impossible {
select * from products where 'foobar' like 'fooba';
} {}