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". */
| 21903 | ** nuisance compiler warnings about "defined but not used". |
| 21904 | */ |
| 21905 | void shellReset( |
| 21906 | int *pRc, |
| 21907 | sqlite3_stmt *pStmt |
| 21908 | ){ |
| 21909 | int rc = sqlite3_reset(pStmt); |
| 21910 | if( *pRc==SQLITE_OK ){ |
| 21911 | if( rc!=SQLITE_OK ){ |
| 21912 | sqlite3 *db = sqlite3_db_handle(pStmt); |
| 21913 | raw_printf(stderr, "SQL error: %s\n", sqlite3_errmsg(db)); |
| 21914 | } |
| 21915 | *pRc = rc; |
| 21916 | } |
| 21917 | } |
| 21918 | #endif /* !defined SQLITE_OMIT_VIRTUALTABLE */ |
| 21919 | |
| 21920 | #if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_HAVE_ZLIB) |
no outgoing calls
no test coverage detected