diff options
Diffstat (limited to 'sql/vers_utils.h')
-rw-r--r-- | sql/vers_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/vers_utils.h b/sql/vers_utils.h index b9b93856ea6..52d01e36e8c 100644 --- a/sql/vers_utils.h +++ b/sql/vers_utils.h @@ -28,7 +28,7 @@ public: if (error) return; - table.mdl_request.init(MDL_key::TABLE, table.db, table.table_name, MDL_EXCLUSIVE, MDL_EXPLICIT); + table.mdl_request.init(MDL_key::TABLE, table.db.str, table.table_name.str, MDL_EXCLUSIVE, MDL_EXPLICIT); error= thd->mdl_context.acquire_lock(&table.mdl_request, thd->variables.lock_wait_timeout); thd->mdl_context.release_lock(protection_request.ticket); } |