1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Bug fix: updates within a transaction would fail if there was existed

a temporary table. (CVS 425)

FossilOrigin-Name: 02cc2d60b2a5ee50efdbd90df90810ba559a453f
This commit is contained in:
drh
2002-03-10 21:21:00 +00:00
parent 5191b7e699
commit 7218ac7098
5 changed files with 15 additions and 15 deletions

View File

@ -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;
}