mirror of
https://github.com/MariaDB/server.git
synced 2025-10-27 05:56:07 +03:00
merge mysql-5.5->mysql-5.5-security
This commit is contained in:
@@ -1788,7 +1788,7 @@ row_mysql_freeze_data_dictionary_func(
|
||||
{
|
||||
ut_a(trx->dict_operation_lock_mode == 0);
|
||||
|
||||
rw_lock_s_lock_func(&dict_operation_lock, 0, file, line);
|
||||
rw_lock_s_lock_inline(&dict_operation_lock, 0, file, line);
|
||||
|
||||
trx->dict_operation_lock_mode = RW_S_LATCH;
|
||||
}
|
||||
@@ -1825,7 +1825,7 @@ row_mysql_lock_data_dictionary_func(
|
||||
/* Serialize data dictionary operations with dictionary mutex:
|
||||
no deadlocks or lock waits can occur then in these operations */
|
||||
|
||||
rw_lock_x_lock_func(&dict_operation_lock, 0, file, line);
|
||||
rw_lock_x_lock_inline(&dict_operation_lock, 0, file, line);
|
||||
trx->dict_operation_lock_mode = RW_X_LATCH;
|
||||
|
||||
mutex_enter(&(dict_sys->mutex));
|
||||
|
||||
Reference in New Issue
Block a user