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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user