From 23d87e54873e49a2c57de8759c39675bbb554682 Mon Sep 17 00:00:00 2001 From: Michael Cahill Date: Tue, 21 Oct 2014 16:20:46 +1100 Subject: If the metadata is updated, that update should ignore the running transaction. In particular, it should not be rolled back if WT_SESSION::rollback_transaction is called. --- src/meta/meta_turtle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/meta') diff --git a/src/meta/meta_turtle.c b/src/meta/meta_turtle.c index 2e3eca10833..d6060ebf47b 100644 --- a/src/meta/meta_turtle.c +++ b/src/meta/meta_turtle.c @@ -26,7 +26,8 @@ __metadata_config(WT_SESSION_IMPL *session, const char **metaconfp) /* Create a turtle file with default values. */ WT_RET(__wt_scr_alloc(session, 0, &buf)); WT_ERR(__wt_buf_fmt(session, buf, - "key_format=S,value_format=S,id=0,version=(major=%d,minor=%d)", + "key_format=S,value_format=S,id=%d,version=(major=%d,minor=%d)", + WT_METAFILE_ID, WT_BTREE_MAJOR_VERSION_MAX, WT_BTREE_MINOR_VERSION_MAX)); cfg[1] = buf->data; WT_ERR(__wt_config_collapse(session, cfg, &metaconf)); -- cgit v1.2.1