aboutsummaryrefslogtreecommitdiff
path: root/src/shell.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-10-12 13:21:56 +0000
committerdrh <drh@noemail.net>2017-10-12 13:21:56 +0000
commitddba6c38df783aec4cb646ac60a65a1e42b6fe64 (patch)
treeee9605c8414909f6c3be257866383c7873c6e456 /src/shell.c
parent122ab8fd9ddc54be1243033ce1b7462b1597927d (diff)
parent4c6cddcaabb6a5539cd87347e6be96fe8d1d2d37 (diff)
downloadsqlite-ddba6c38df783aec4cb646ac60a65a1e42b6fe64.tar.gz
sqlite-ddba6c38df783aec4cb646ac60a65a1e42b6fe64.zip
Merge fixes from the 3.21 branch.
FossilOrigin-Name: 292921692c8919d29f0a67d03ca953d5c1c4900d8c8567cceab27513732be598
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c
index 06ffb32b8..1537d64a0 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -3801,7 +3801,7 @@ static char **tableColumnList(ShellState *p, const char *zTab){
}
}
sqlite3_finalize(pStmt);
- if( !azCol ) return 0;
+ if( azCol==0 ) return 0;
azCol[0] = 0;
azCol[nCol+1] = 0;