1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-05 04:30:38 +03:00

Enable the ".wheretrace" and ".selecttrace" extensions in the command-line

shell when compiled on Windows using DEBUG=3 or higher.  Fix a harmless
warning in the shell that comes up when compiled this way.

FossilOrigin-Name: 8a03be1dc42737ba0712d33f639ea26dc243b20e
This commit is contained in:
drh
2017-02-17 01:43:51 +00:00
parent e9ba910f0d
commit 2b44fd94ba
4 changed files with 10 additions and 9 deletions

View File

@@ -4614,7 +4614,7 @@ static int do_meta_command(char *zLine, ShellState *p){
#if defined(SQLITE_DEBUG) && defined(SQLITE_ENABLE_SELECTTRACE)
if( c=='s' && n==11 && strncmp(azArg[0], "selecttrace", n)==0 ){
sqlite3SelectTrace = integerValue(azArg[1]);
sqlite3SelectTrace = (int)integerValue(azArg[1]);
}else
#endif