summaryrefslogtreecommitdiff
path: root/src/include/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/connection.h')
-rw-r--r--src/include/connection.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/connection.h b/src/include/connection.h
index 88797e83ad6..2255056fcf6 100644
--- a/src/include/connection.h
+++ b/src/include/connection.h
@@ -175,6 +175,7 @@ struct __wt_connection_impl {
WT_SPINLOCK checkpoint_lock; /* Checkpoint spinlock */
WT_SPINLOCK dhandle_lock; /* Data handle list spinlock */
WT_SPINLOCK fh_lock; /* File handle queue spinlock */
+ WT_SPINLOCK metadata_lock; /* Metadata update spinlock */
WT_SPINLOCK reconfig_lock; /* Single thread reconfigure */
WT_SPINLOCK schema_lock; /* Schema operation spinlock */
WT_SPINLOCK table_lock; /* Table creation spinlock */
@@ -298,9 +299,10 @@ struct __wt_connection_impl {
#define WT_CONN_STAT_ALL 0x01 /* "all" statistics configured */
#define WT_CONN_STAT_CLEAR 0x02 /* clear after gathering */
#define WT_CONN_STAT_FAST 0x04 /* "fast" statistics configured */
-#define WT_CONN_STAT_NONE 0x08 /* don't gather statistics */
-#define WT_CONN_STAT_ON_CLOSE 0x10 /* output statistics on close */
-#define WT_CONN_STAT_SIZE 0x20 /* "size" statistics configured */
+#define WT_CONN_STAT_JSON 0x08 /* output JSON format */
+#define WT_CONN_STAT_NONE 0x10 /* don't gather statistics */
+#define WT_CONN_STAT_ON_CLOSE 0x20 /* output statistics on close */
+#define WT_CONN_STAT_SIZE 0x40 /* "size" statistics configured */
uint32_t stat_flags;
/* Connection statistics */