mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Add coverage test cases. Have sqlite3_backup_step() transform SQLITE_IOERR_NOMEM to SQLITE_NOMEM before returning.
FossilOrigin-Name: 5e19bc360e098ec06a72f4a86254d8e62e93ea57
This commit is contained in:
@@ -4708,6 +4708,7 @@ static int pager_write(PgHdr *pPg){
|
||||
** which means they have acquired the necessary locks but the rollback
|
||||
** journal might not yet be open.
|
||||
*/
|
||||
assert( pPager->state>PAGER_SHARED );
|
||||
rc = sqlite3PagerBegin(pPager, 0, pPager->subjInMemory);
|
||||
if( rc!=SQLITE_OK ){
|
||||
return rc;
|
||||
|
Reference in New Issue
Block a user