aboutsummaryrefslogtreecommitdiff
path: root/src/shell.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-02-15 15:47:18 +0000
committerdrh <drh@noemail.net>2010-02-15 15:47:18 +0000
commita8c62df904fe2321dbb33c6e7a64c3adad988da7 (patch)
treeed10ba492d405f6c7bd76366e7030508317ea86e /src/shell.c
parent2d8d7cebe17ada23544ff4dc6e16965e0a71bb98 (diff)
downloadsqlite-a8c62df904fe2321dbb33c6e7a64c3adad988da7.tar.gz
sqlite-a8c62df904fe2321dbb33c6e7a64c3adad988da7.zip
Fix a compiler warning in shell.c. Updates to comments in trigger.c.
FossilOrigin-Name: c727601eecd85a26dbd4fc36823d77bec34da3c3
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.