From ed579fbdf2ea09c4d96fb9c4e52cdf17669c95ed Mon Sep 17 00:00:00 2001 From: PThorpe92 Date: Thu, 27 Nov 2025 20:59:23 -0500 Subject: [PATCH] Add TCL tests for quote scalar function w/ blob type --- testing/scalar-functions.test | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/testing/scalar-functions.test b/testing/scalar-functions.test index 30ba59b83..7efa69e4b 100755 --- a/testing/scalar-functions.test +++ b/testing/scalar-functions.test @@ -1072,6 +1072,13 @@ do_execsql_test if-alias-multi-args-no-else-is-null { select if(0, 'a', 0, 'b'); } {} +do_execsql_test replace-test-zeroblob-quote { + select replace(substr(quote(zeroblob((6 + 1) / 2)), 3, 6), '0', 'a'); +} {aaaaaa} + +do_execsql_test replace-test-zeroblob-quote { + select quote(0xf7b); +} {3963} # TODO: sqlite seems not enable soundex() by default unless build it with SQLITE_SOUNDEX enabled. # do_execsql_test soundex-text {