summaryrefslogtreecommitdiff
path: root/src/schema/schema_drop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/schema/schema_drop.c')
-rw-r--r--src/schema/schema_drop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schema/schema_drop.c b/src/schema/schema_drop.c
index c1a4f257648..49801e4e5f9 100644
--- a/src/schema/schema_drop.c
+++ b/src/schema/schema_drop.c
@@ -30,7 +30,7 @@ __drop_file(
WT_RET(__wt_schema_backup_check(session, filename));
/* Close all btree handles associated with this file. */
- WT_WITH_HANDLE_LIST_LOCK(session,
+ WT_WITH_HANDLE_LIST_WRITE_LOCK(session,
ret = __wt_conn_dhandle_close_all(session, uri, force));
WT_RET(ret);