summaryrefslogtreecommitdiff
path: root/src/include/txn.h
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-04-03 21:42:33 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-04-03 21:42:33 +1100
commit577f7801120e692496b5cbbafe6ea56e960f2cac (patch)
treeff9d7f828d189a232755e304b1ff7027b41d081c /src/include/txn.h
parent4aad05cbad1bae95e73c9c50674ab00bd5373177 (diff)
downloadmongo-577f7801120e692496b5cbbafe6ea56e960f2cac.tar.gz
Catch a case where snap_min is being cleared while cursors are open. This turned out to be the metadata cursor open during a checkpoint.
Diffstat (limited to 'src/include/txn.h')
-rw-r--r--src/include/txn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/txn.h b/src/include/txn.h
index 857fa3c0e7b..e634320bd80 100644
--- a/src/include/txn.h
+++ b/src/include/txn.h
@@ -130,6 +130,7 @@ struct __wt_txn {
#define TXN_AUTOCOMMIT 0x01
#define TXN_ERROR 0x02
#define TXN_OLDEST 0x04
-#define TXN_RUNNING 0x08
+#define TXN_PINNED 0x08
+#define TXN_RUNNING 0x10
uint32_t flags;
};