diff options
Diffstat (limited to 'src/schema/schema_drop.c')
-rw-r--r-- | src/schema/schema_drop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/schema/schema_drop.c b/src/schema/schema_drop.c index 49801e4e5f9..ec12ec3752f 100644 --- a/src/schema/schema_drop.c +++ b/src/schema/schema_drop.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. * @@ -201,7 +201,7 @@ __wt_schema_drop(WT_SESSION_IMPL *session, const char *uri, const char *cfg[]) ret = force ? 0 : ENOENT; /* 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)); |