1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-05 04:30:38 +03:00

Fix a compiler warning in shell.c. Updates to comments in trigger.c.

FossilOrigin-Name: c727601eecd85a26dbd4fc36823d77bec34da3c3
This commit is contained in:
drh
2010-02-15 15:47:18 +00:00
parent 2d8d7cebe1
commit a8c62df904
4 changed files with 20 additions and 20 deletions

View File

@@ -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.