row0mysql.c:

  Remove unintentional changes in previous push
parent da57c251
...@@ -1217,9 +1217,7 @@ row_mysql_lock_data_dictionary( ...@@ -1217,9 +1217,7 @@ row_mysql_lock_data_dictionary(
/*===========================*/ /*===========================*/
trx_t* trx) /* in: transaction */ trx_t* trx) /* in: transaction */
{ {
ut_ad(trx->dict_operation_lock_mode == 0); /* This is allowed to fail ut_a(trx->dict_operation_lock_mode == 0);
in a rename #sql... to
rsql... */
/* Serialize data dictionary operations with dictionary mutex: /* Serialize data dictionary operations with dictionary mutex:
no deadlocks or lock waits can occur then in these operations */ no deadlocks or lock waits can occur then in these operations */
...@@ -1238,9 +1236,7 @@ row_mysql_unlock_data_dictionary( ...@@ -1238,9 +1236,7 @@ row_mysql_unlock_data_dictionary(
/*=============================*/ /*=============================*/
trx_t* trx) /* in: transaction */ trx_t* trx) /* in: transaction */
{ {
ut_ad(trx->dict_operation_lock_mode == RW_X_LATCH); /* This is allowed ut_a(trx->dict_operation_lock_mode == RW_X_LATCH);
to fail in a rename #sql... to
rsql... */
/* Serialize data dictionary operations with dictionary mutex: /* Serialize data dictionary operations with dictionary mutex:
no deadlocks can occur then in these operations */ no deadlocks can occur then in these operations */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment