aboutsummaryrefslogtreecommitdiff
path: root/src/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell.c b/src/shell.c
index af56792ec..5f912f430 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -1853,9 +1853,9 @@ static int shell_exec(
/* echo the sql statement if echo on */
if( pArg->echoOn ){
- char *zStmtSql = sqlite3_sql(pStmt);
+ const char *zStmtSql = sqlite3_sql(pStmt);
fprintf(pArg->out,"%s\n", zStmtSql ? zStmtSql : zSql);
- }
+ }
/* perform the first step. this will tell us if we
** have a result set or not and how wide it is.