summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/schema/schema_rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/schema/schema_rename.c')
-rw-r--r--src/third_party/wiredtiger/src/schema/schema_rename.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/schema/schema_rename.c b/src/third_party/wiredtiger/src/schema/schema_rename.c
index a374f4c2831..1868d907d00 100644
--- a/src/third_party/wiredtiger/src/schema/schema_rename.c
+++ b/src/third_party/wiredtiger/src/schema/schema_rename.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.
*
@@ -277,7 +277,7 @@ __wt_schema_rename(WT_SESSION_IMPL *session,
ret = __wt_bad_object_type(session, uri);
/* Bump the schema generation so that stale data is ignored. */
- ++S2C(session)->schema_gen;
+ (void)__wt_gen_next(session, WT_GEN_SCHEMA);
WT_TRET(__wt_meta_track_off(session, true, ret != 0));