diff options
author | drh <> | 2025-02-24 13:27:16 +0000 |
---|---|---|
committer | drh <> | 2025-02-24 13:27:16 +0000 |
commit | 7db5e50b8de427244b39732b5ec286cfc9920937 (patch) | |
tree | 7cfb873febf49cd6d80e0e45d5f5f7678eef25c0 /src | |
parent | 21b431e6851c5f652932b27cf67c4a541b5ea97a (diff) | |
download | sqlite-7db5e50b8de427244b39732b5ec286cfc9920937.tar.gz sqlite-7db5e50b8de427244b39732b5ec286cfc9920937.zip |
Bug fix and initial test-case infrastructure for control-character escaping
in the CLI.
FossilOrigin-Name: c809997792602a7299b8ab84d018a03d291695e308ce750fc8b9d7a824edfd6e
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in index 6b363d179..ad2215608 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -1976,7 +1976,7 @@ static void output_quoted_string(ShellState *p, const char *zInX){ */ static void output_quoted_escaped_string(ShellState *p, const char *z){ char *zEscaped; - sqlite3_fsetmode(out, _O_BINARY); + sqlite3_fsetmode(p->out, _O_BINARY); if( p->eEscMode==SHELL_ESC_OFF ){ zEscaped = sqlite3_mprintf("%Q", z); }else{ |