From 22d1a1eaa819c94acc528149db8b804c41eea848 Mon Sep 17 00:00:00 2001 From: pedrocarlo Date: Tue, 3 Jun 2025 15:10:24 -0300 Subject: [PATCH] fix blob printing --- vendored/sqlite3-parser/src/to_sql_string/expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendored/sqlite3-parser/src/to_sql_string/expr.rs b/vendored/sqlite3-parser/src/to_sql_string/expr.rs index 4b059f77f..0b9278b41 100644 --- a/vendored/sqlite3-parser/src/to_sql_string/expr.rs +++ b/vendored/sqlite3-parser/src/to_sql_string/expr.rs @@ -377,7 +377,7 @@ impl Display for ast::Literal { f, "{}", match self { - Self::Blob(b) => format!("Ox{b}"), + Self::Blob(b) => format!("x'{b}'"), Self::CurrentDate => "CURRENT_DATE".to_string(), Self::CurrentTime => "CURRENT_TIME".to_string(), Self::CurrentTimestamp => "CURRENT_TIMESTAMP".to_string(),