aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-09-22 06:13:31 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-09-22 06:13:31 +0000
commitfb8f2e2eb150d5c93ee37e3ea9f8ea936e7976e7 (patch)
treed5a293772dd6adc1a9a0c138fc589403fdae4ebd /src
parent0db8ac43b5b9e8d42b2c16ecbc211c7d07e9356e (diff)
downloadsqlite-fb8f2e2eb150d5c93ee37e3ea9f8ea936e7976e7.tar.gz
sqlite-fb8f2e2eb150d5c93ee37e3ea9f8ea936e7976e7.zip
Remove unused macro Release() from vdbe.c. (CVS 5728)
FossilOrigin-Name: 915679431a70c593a83cf5e8b1dcce1555e9518e
Diffstat (limited to 'src')
-rw-r--r--src/vdbe.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/vdbe.c b/src/vdbe.c
index 28b6a9e20..df2ef23a1 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.778 2008/09/02 11:05:02 danielk1977 Exp $
+** $Id: vdbe.c,v 1.779 2008/09/22 06:13:32 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -110,12 +110,6 @@ static void updateMaxBlobsize(Mem *p){
#endif
/*
-** Release the memory associated with a register. This
-** leaves the Mem.flags field in an inconsistent state.
-*/
-#define Release(P) if((P)->flags&MEM_Dyn){ sqlite3VdbeMemRelease(P); }
-
-/*
** Convert the given register into a string if it isn't one
** already. Return non-zero if a malloc() fails.
*/
@@ -2144,7 +2138,8 @@ case OP_Column: {
** of the record (when all fields present), then we must be dealing
** with a corrupt database.
*/
- if( zIdx>zEndHdr || offset>payloadSize || (zIdx==zEndHdr && offset!=payloadSize) ){
+ if( zIdx>zEndHdr || offset>payloadSize
+ || (zIdx==zEndHdr && offset!=payloadSize) ){
rc = SQLITE_CORRUPT_BKPT;
goto op_column_out;
}