1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-10-24 09:53:10 +03:00

Catch an IO error code that was being ignored in OP_RowData. (CVS 3688)

FossilOrigin-Name: 760ebf8076b9cedb614bdc88c72d871c30cc7b94
This commit is contained in:
danielk1977
2007-03-15 12:05:35 +00:00
parent 3f56e6ebac
commit b69d96d22c
3 changed files with 11 additions and 11 deletions

View File

@@ -43,7 +43,7 @@
** in this file for details. If in doubt, do not deviate from existing
** commenting and indentation practices when changing or adding code.
**
** $Id: vdbe.c,v 1.590 2007/03/01 00:29:14 drh Exp $
** $Id: vdbe.c,v 1.591 2007/03/15 12:05:36 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -3504,9 +3504,9 @@ case OP_RowData: {
pTos->z = z;
}
if( pC->isIndex ){
sqlite3BtreeKey(pCrsr, 0, n, pTos->z);
rc = sqlite3BtreeKey(pCrsr, 0, n, pTos->z);
}else{
sqlite3BtreeData(pCrsr, 0, n, pTos->z);
rc = sqlite3BtreeData(pCrsr, 0, n, pTos->z);
}
}else if( pC->pseudoTable ){
pTos->n = pC->nData;