From cfdb3cbf57387b2fc975f5ded563f7edd7102353 Mon Sep 17 00:00:00 2001 From: brad Arant Date: Fri, 20 Nov 2026 20:22:03 -0800 Subject: [PATCH] Avoid a trigraph warning in the SqlBind unit test Co-Authored-By: Claude Opus 5.5 --- tests/sqlbind_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sqlbind_test.cpp b/tests/sqlbind_test.cpp index 2336c32..d0bc8ad 100644 --- a/tests/sqlbind_test.cpp +++ b/tests/sqlbind_test.cpp @@ -96,7 +96,7 @@ int main() { CHECK(bind("where email=? and status='ACTIVE'", {bv("x' or '1'='1")}) == "where email='x\\' or \\'1\\'=\\'1' and status='ACTIVE'"); // replacement text is never rescanned - CHECK(bind("a=? and b=?", {bv("?"), bv("??")}) == "a='?' and b='??'"); + CHECK(bind("a=? and b=?", {bv("?"), bv("?" "?")}) == "a='?' and b='?" "?'"); // --- ? inside literals, identifiers and comments is never replaced --- CHECK(countPlaceholders("select '?', \"?\", `?` from t", false) == 0);