summaryrefslogtreecommitdiff
path: root/src/schema/schema_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema/schema_open.c')
-rw-r--r--src/schema/schema_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/schema/schema_open.c b/src/schema/schema_open.c
index 44bd66e011a..d765882a3b6 100644
--- a/src/schema/schema_open.c
+++ b/src/schema/schema_open.c
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2014-2016 MongoDB, Inc.
+ * Copyright (c) 2014-2017 MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
@@ -502,7 +502,7 @@ __schema_open_table(WT_SESSION_IMPL *session,
table->name);
/* Copy the schema generation into the new table. */
- table->schema_gen = S2C(session)->schema_gen;
+ table->schema_gen = __wt_gen(session, WT_GEN_SCHEMA);
*tablep = table;