summaryrefslogtreecommitdiff
path: root/src/session/session_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/session/session_api.c')
-rw-r--r--src/session/session_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session/session_api.c b/src/session/session_api.c
index 38f5536f441..2773b31ce1e 100644
--- a/src/session/session_api.c
+++ b/src/session/session_api.c
@@ -1015,7 +1015,7 @@ __wt_open_internal_session(WT_CONNECTION_IMPL *conn, const char *name,
* pool creates its sessions, let our caller decline this work.
*/
if (open_metadata) {
- WT_ASSERT(session, !F_ISSET(session, WT_SESSION_SCHEMA_LOCKED));
+ WT_ASSERT(session, !F_ISSET(session, WT_SESSION_LOCKED_SCHEMA));
WT_RET(__wt_metadata_open(session));
}