aboutsummaryrefslogtreecommitdiff
path: root/src/shell.c
diff options
context:
space:
mode:
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;