mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
More tests for the recover module.
FossilOrigin-Name: 37fb093b95c6b7d7ad07a275697df73b69f9fb5c5549aea8544b26e38f24833f
This commit is contained in:
@ -165,9 +165,7 @@ static int testRecoverCmd(
|
||||
int res2;
|
||||
if( res!=SQLITE_OK ){
|
||||
const char *zErr = sqlite3_recover_errmsg(pTest->p);
|
||||
char *zRes = sqlite3_mprintf("(%d) - %s", res, zErr);
|
||||
Tcl_SetObjResult(interp, Tcl_NewStringObj(zRes, -1));
|
||||
sqlite3_free(zRes);
|
||||
Tcl_SetObjResult(interp, Tcl_NewStringObj(zErr, -1));
|
||||
}
|
||||
res2 = sqlite3_recover_finish(pTest->p);
|
||||
assert( res2==res );
|
||||
|
Reference in New Issue
Block a user