aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2003-06-02 23:14:13 +0000
committerdrh <drh@noemail.net>2003-06-02 23:14:13 +0000
commit1aa4965ae36182dea6f85117afd4db195b451f50 (patch)
treee5ce0fdd4da2b4853924cec70f6f98099b2495ff /src/sqliteInt.h
parent2394e376d6613d953d539f164a4c20482802ca63 (diff)
downloadsqlite-1aa4965ae36182dea6f85117afd4db195b451f50.tar.gz
sqlite-1aa4965ae36182dea6f85117afd4db195b451f50.zip
The OP_Checkpoint opcode is now a no-op if invoked on a database that already
has an active checkpoint journal. Ticket #333. (CVS 997) FossilOrigin-Name: daf7b94017f03638da1ef65830f3762be030b93c
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 67d466926..e25145d2a 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.189 2003/05/31 16:21:13 drh Exp $
+** @(#) $Id: sqliteInt.h,v 1.190 2003/06/02 23:14:13 drh Exp $
*/
#include "config.h"
#include "sqlite.h"
@@ -241,7 +241,7 @@ struct Db {
Hash idxHash; /* All (named) indices indexed by name */
Hash trigHash; /* All triggers indexed by name */
Hash aFKey; /* Foreign keys indexed by to-table */
- u8 inTrans; /* True if a transaction is underway for this backend */
+ u8 inTrans; /* 0: not writable. 1: Transaction. 2: Checkpoint */
u16 flags; /* Flags associated with this database */
};