From 5fa6a452c199866686902aaddabbbf944320c4bb Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Sun, 9 Feb 2025 23:32:39 +0400 Subject: [PATCH] add TCL test for quoting of quotes --- testing/scalar-functions.test | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/scalar-functions.test b/testing/scalar-functions.test index f04fa1765..924bafa6d 100755 --- a/testing/scalar-functions.test +++ b/testing/scalar-functions.test @@ -631,6 +631,10 @@ do_execsql_test quote-string { SELECT quote('limbo') } {'limbo'} +do_execsql_test quote-escape { + SELECT quote('''quote''') +} {'''quote'''} + do_execsql_test quote-null { SELECT quote(null) } {NULL}