aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2007-03-15 12:05:35 +0000
committerdanielk1977 <danielk1977@noemail.net>2007-03-15 12:05:35 +0000
commitb69d96d22c51bb16d9fbdd68c271e54956c5cb6c (patch)
treef54423a616ace45f16dfd2a67a247aa6bb3fd492 /src
parent3f56e6ebac0cdb6c257cfd65f13ae9b354d68dae (diff)
downloadsqlite-b69d96d22c51bb16d9fbdd68c271e54956c5cb6c.tar.gz
sqlite-b69d96d22c51bb16d9fbdd68c271e54956c5cb6c.zip
Catch an IO error code that was being ignored in OP_RowData. (CVS 3688)
FossilOrigin-Name: 760ebf8076b9cedb614bdc88c72d871c30cc7b94
Diffstat (limited to 'src')
-rw-r--r--src/vdbe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vdbe.c b/src/vdbe.c
index d8992d0ac..dd94e83e3 100644
--- a/src/vdbe.c
+++ b/src/vdbe.c
@@ -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;