mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
After-merge fix: Remove an unnecessary parameter
This commit is contained in:
parent
5ce21bc67f
commit
f867a695f8
1 changed files with 2 additions and 3 deletions
|
@ -13534,7 +13534,6 @@ inline MY_ATTRIBUTE((warn_unused_result))
|
|||
dberr_t
|
||||
innobase_rename_table(
|
||||
/*==================*/
|
||||
THD* thd, /*!< Connection thread handle */
|
||||
trx_t* trx, /*!< in: transaction */
|
||||
const char* from, /*!< in: old name of the table */
|
||||
const char* to) /*!< in: new name of the table */
|
||||
|
@ -13565,7 +13564,7 @@ innobase_rename_table(
|
|||
|
||||
/* Since DICT_BG_YIELD has sleep for 250 milliseconds,
|
||||
Convert lock_wait_timeout unit from second to 250 milliseconds */
|
||||
long int lock_wait_timeout = thd_lock_wait_timeout(thd) * 4;
|
||||
long int lock_wait_timeout = thd_lock_wait_timeout(trx->mysql_thd) * 4;
|
||||
if (table != NULL) {
|
||||
for (dict_index_t* index = dict_table_get_first_index(table);
|
||||
index != NULL;
|
||||
|
@ -13680,7 +13679,7 @@ ha_innobase::rename_table(
|
|||
++trx->will_lock;
|
||||
trx_set_dict_operation(trx, TRX_DICT_OP_INDEX);
|
||||
|
||||
dberr_t error = innobase_rename_table(thd, trx, from, to);
|
||||
dberr_t error = innobase_rename_table(trx, from, to);
|
||||
|
||||
DEBUG_SYNC(thd, "after_innobase_rename_table");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue