diff options
author | drh <> | 2024-11-21 20:57:11 +0000 |
---|---|---|
committer | drh <> | 2024-11-21 20:57:11 +0000 |
commit | 9edb535bddec61d9cdf7cf72457e57a991b18fca (patch) | |
tree | 717aebd875019ca08104452b29e9cd84d5c3d6b6 /src | |
parent | a8c68e551d4b93b8ff52b6fb907405b0ea95eed2 (diff) | |
download | sqlite-9edb535bddec61d9cdf7cf72457e57a991b18fca.tar.gz sqlite-9edb535bddec61d9cdf7cf72457e57a991b18fca.zip |
Make ".scanstatus" an undocumented alternative name for ".scanstats" in the CLI.
FossilOrigin-Name: f20688efc2bc54648618b0aa2593a771f455ee8cc703b52273452d15e680b67c
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/shell.c.in b/src/shell.c.in index a6700eb83..22a5976d3 100644 --- a/src/shell.c.in +++ b/src/shell.c.in @@ -10411,7 +10411,10 @@ static int do_meta_command(char *zLine, ShellState *p){ }else #endif /* !defined(SQLITE_SHELL_FIDDLE) */ - if( c=='s' && cli_strncmp(azArg[0], "scanstats", n)==0 ){ + if( c=='s' && + (cli_strncmp(azArg[0], "scanstats", n)==0 || + cli_strncmp(azArg[0], "scanstatus", n)==0) + ){ if( nArg==2 ){ if( cli_strcmp(azArg[1], "vm")==0 ){ p->scanstatsOn = 3; |