fix quote functions

This commit is contained in:
Nikita Sivukhin
2025-02-09 23:31:18 +04:00
parent cc7267b0bd
commit cd4bfac059

View File

@@ -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);
}