aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-01-22 11:29:25 +0000
committerdrh <drh@noemail.net>2015-01-22 11:29:25 +0000
commit1d9be4f7d3d5c792108a6d12eefc9328bde624c5 (patch)
treeca9c4ea4debcfba14b1eb02331b67257d2128dff /src
parentce8f53d44761a6735b4c9ad6a58e55347e8b89d1 (diff)
downloadsqlite-1d9be4f7d3d5c792108a6d12eefc9328bde624c5.tar.gz
sqlite-1d9be4f7d3d5c792108a6d12eefc9328bde624c5.zip
Change the undocumented ".selecttrace" command in the shell to accept
an integer bitmask rather than a boolean. FossilOrigin-Name: bd63bf882c5a925f921adc9cf7425d2e7950f0b2
Diffstat (limited to 'src')
-rw-r--r--src/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c
index 1d9c80798..0603268cc 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -3329,7 +3329,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 ){
extern int sqlite3SelectTrace;
- sqlite3SelectTrace = nArg>=2 ? booleanValue(azArg[1]) : 0xff;
+ sqlite3SelectTrace = integerValue(azArg[1]);
}else
#endif