Reset the prepared statement created using shellPreparePrintf(). ** ** This routine is could be marked "static". But it is not always used, ** depending on compile-time options. By omitting the "static", we avoid ** nuisance compiler warnings about "defined but not used". */
| 16150 | ** nuisance compiler warnings about "defined but not used". |
| 16151 | */ |
| 16152 | void shellReset( |
| 16153 | int *pRc, |
| 16154 | sqlite3_stmt *pStmt |
| 16155 | ){ |
| 16156 | int rc = sqlite3_reset(pStmt); |
| 16157 | if( *pRc==SQLITE_OK ){ |
| 16158 | if( rc!=SQLITE_OK ){ |
| 16159 | sqlite3 *db = sqlite3_db_handle(pStmt); |
| 16160 | raw_printf(stderr, "SQL error: %s\n", sqlite3_errmsg(db)); |
| 16161 | } |
| 16162 | *pRc = rc; |
| 16163 | } |
| 16164 | } |
| 16165 | #endif /* !defined SQLITE_OMIT_VIRTUALTABLE */ |
| 16166 | |
| 16167 | #if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_HAVE_ZLIB) |
no outgoing calls
no test coverage detected