summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/schema/schema_drop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/src/schema/schema_drop.c')
-rw-r--r--src/third_party/wiredtiger/src/schema/schema_drop.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/src/schema/schema_drop.c b/src/third_party/wiredtiger/src/schema/schema_drop.c
index 4a3e616d9ab..527e8540d74 100644
--- a/src/third_party/wiredtiger/src/schema/schema_drop.c
+++ b/src/third_party/wiredtiger/src/schema/schema_drop.c
@@ -113,15 +113,13 @@ __drop_table(WT_SESSION_IMPL *session, const char *uri, const char *cfg[])
/*
* Open the table so we can drop its column groups and indexes.
*
- * Ideally we would keep the table locked exclusive across the drop,
- * but for now we rely on the global table lock to prevent the table
- * being reopened while it is being dropped. One issue is that the
- * WT_WITHOUT_LOCKS macro can drop and reacquire the global table lock,
- * avoiding deadlocks while waiting for LSM operation to quiesce.
+ * Ideally we would keep the table locked exclusive across the drop, but for now we rely on the
+ * global table lock to prevent the table being reopened while it is being dropped. One issue is
+ * that the WT_WITHOUT_LOCKS macro can drop and reacquire the global table lock, avoiding
+ * deadlocks while waiting for LSM operation to quiesce.
*
- * Temporarily getting the table exclusively serves the purpose
- * of ensuring that cursors on the table that are already open
- * must at least be closed before this call proceeds.
+ * Temporarily getting the table exclusively serves the purpose of ensuring that cursors on the
+ * table that are already open must at least be closed before this call proceeds.
*/
WT_ERR(__wt_schema_get_table_uri(session, uri, true, WT_DHANDLE_EXCLUSIVE, &table));
WT_ERR(__wt_schema_release_table(session, &table));