1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Always transform error code SQLITE_IOERR_NOMEM to SQLITE_NOMEM before returning. This was already happening in most places. (CVS 5738)

FossilOrigin-Name: 046ef07261d520c9399bd8cdfdfd5281956b7a27
This commit is contained in:
danielk1977
2008-09-23 16:41:29 +00:00
parent 40bbb0a3e8
commit 98c21903bd
7 changed files with 36 additions and 27 deletions

View File

@@ -18,7 +18,7 @@
** file simultaneously, or one process from reading the database while
** another is writing.
**
** @(#) $Id: pager.c,v 1.493 2008/09/19 09:14:44 danielk1977 Exp $
** @(#) $Id: pager.c,v 1.494 2008/09/23 16:41:30 danielk1977 Exp $
*/
#ifndef SQLITE_OMIT_DISKIO
#include "sqliteInt.h"
@@ -1495,7 +1495,7 @@ static int pager_playback(Pager *pPager, int isHot){
** going to end up being corrupt. It is corrupt to us, anyhow.
** Perhaps the next process to come along can fix it....
*/
rc = SQLITE_CORRUPT;
rc = SQLITE_CORRUPT_BKPT;
goto end_playback;
}
}