mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-06 00:34:23 +01:00
fix quote functions
This commit is contained in:
@@ -3103,6 +3103,9 @@ fn exec_quote(value: &OwnedValue) -> OwnedValue {
|
||||
for c in s.as_str().chars() {
|
||||
if c == '\0' {
|
||||
break;
|
||||
} else if c == '\'' {
|
||||
quoted.push('\'');
|
||||
quoted.push(c);
|
||||
} else {
|
||||
quoted.push(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user