aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2023-10-22 17:27:55 +0000
committerdrh <>2023-10-22 17:27:55 +0000
commita63539143da79df705746156923a6bfd8248932f (patch)
treeec5766dcaad651e300c08833d894401f53c0423c /src
parent28f45b1ab1b38b2dbb7800a8978dc00a363a92b3 (diff)
downloadsqlite-a63539143da79df705746156923a6bfd8248932f.tar.gz
sqlite-a63539143da79df705746156923a6bfd8248932f.zip
Do not do backslash excape processing on any unquoted strings in dot-commands
in the CLI - on Windows or on posix-like systems either one. This brings the processing into alignment with the documentation, allows backslash-delimited filenames on Windows (as long as they are unquoted), and causes the CLI to work the same with regard to backslash escapes on both Windows and posix. FossilOrigin-Name: bce807cd4876327396b4ffcdf77f6931dd3bbd3314336eedf38bcf01d17af32c
Diffstat (limited to 'src')
-rw-r--r--src/shell.c.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/shell.c.in b/src/shell.c.in
index f314a2ea3..50f78acca 100644
--- a/src/shell.c.in
+++ b/src/shell.c.in
@@ -8033,9 +8033,6 @@ static int do_meta_command(char *zLine, ShellState *p){
azArg[nArg++] = &zLine[h];
while( zLine[h] && !IsSpace(zLine[h]) ){ h++; }
if( zLine[h] ) zLine[h++] = 0;
-#ifndef _WIN32 /* Don't convert bare \ on Windows - doing so damages filenames */
- resolve_backslashes(azArg[nArg-1]);
-#endif
}
}
azArg[nArg] = 0;