Avoid a trigraph warning in the SqlBind unit test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
brad ArantandClaude Opus 5.5 committed 2026-11-20 20:22:03 -08:00
1 parent 3c6411c16e
commit cfdb3cbf57
1 file changed
+1 -1
+1 -1
View File
@@ -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);