diff options
Diffstat (limited to 'src/include/schema.h')
-rw-r--r-- | src/include/schema.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/schema.h b/src/include/schema.h index 50e141d9921..8b8ee5616d1 100644 --- a/src/include/schema.h +++ b/src/include/schema.h @@ -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. * @@ -68,8 +68,8 @@ struct __wt_table { bool cg_complete, idx_complete, is_simple; u_int ncolgroups, nindices, nkey_columns; - uint32_t refcnt; /* Number of open cursors */ - uint32_t schema_gen; /* Cached schema generation number */ + uint32_t refcnt; /* Number of open cursors */ + uint64_t schema_gen; /* Cached schema generation number */ }; /* @@ -323,7 +323,7 @@ struct __wt_table { F_SET(session, WT_SESSION_LOCKED_HANDLE_LIST_READ); \ } \ if (__handle_write_locked) { \ - __wt_writelock(session, &__conn->dhandle_lock); \ + __wt_writelock(session, &__conn->dhandle_lock); \ F_SET(session, WT_SESSION_LOCKED_HANDLE_LIST_WRITE); \ } \ } while (0) |