** Bind the value pVal to parameter iBind of statement pStmt. Leave an ** error in the recover handle passed as the first argument if an error ** (e.g. an OOM) occurs. */
| 14009 | ** (e.g. an OOM) occurs. |
| 14010 | */ |
| 14011 | static void recoverBindValue( |
| 14012 | sqlite3_recover *p, |
| 14013 | sqlite3_stmt *pStmt, |
| 14014 | int iBind, |
| 14015 | sqlite3_value *pVal |
| 14016 | ){ |
| 14017 | if( p->errCode==SQLITE_OK ){ |
| 14018 | int rc = sqlite3_bind_value(pStmt, iBind, pVal); |
| 14019 | if( rc ) recoverError(p, rc, 0); |
| 14020 | } |
| 14021 | } |
| 14022 | |
| 14023 | /* |
| 14024 | ** This function is a no-op if recover handle p already contains an error |
no test coverage detected