diff options
author | drh <drh@noemail.net> | 2002-03-10 21:21:00 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2002-03-10 21:21:00 +0000 |
commit | 7218ac70983b81b32b83e00acc0d478ea9d8bbb0 (patch) | |
tree | bde5772713f08f72d45b91ffb264b14ab3786353 /src | |
parent | 5191b7e699b71cebd48b5e3a964f128609a2ab18 (diff) | |
download | sqlite-7218ac70983b81b32b83e00acc0d478ea9d8bbb0.tar.gz sqlite-7218ac70983b81b32b83e00acc0d478ea9d8bbb0.zip |
Bug fix: updates within a transaction would fail if there was existed
a temporary table. (CVS 425)
FossilOrigin-Name: 02cc2d60b2a5ee50efdbd90df90810ba559a453f
Diffstat (limited to 'src')
-rw-r--r-- | src/vdbe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vdbe.c b/src/vdbe.c index f37d57ef3..78713cbe8 100644 --- a/src/vdbe.c +++ b/src/vdbe.c @@ -30,7 +30,7 @@ ** But other routines are also provided to help in building up ** a program instruction by instruction. ** -** $Id: vdbe.c,v 1.133 2002/03/06 22:01:36 drh Exp $ +** $Id: vdbe.c,v 1.134 2002/03/10 21:21:00 drh Exp $ */ #include "sqliteInt.h" #include <ctype.h> @@ -2468,7 +2468,7 @@ case OP_IncrKey: { case OP_Checkpoint: { rc = sqliteBtreeBeginCkpt(pBt); if( rc==SQLITE_OK && db->pBeTemp ){ - rc = sqliteBtreeBeginCkpt(pBt); + rc = sqliteBtreeBeginCkpt(db->pBeTemp); } break; } |