mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
A pre-requisite for WL#5419 "LOCK_open scalability:
make tdc_refresh_version an atomic counter". Backport the trivial changes from mysql-trunk-iplus.
This commit is contained in:
parent
47b9f64c53
commit
90a87cd52d
12 changed files with 16 additions and 23 deletions
|
|
@ -2055,7 +2055,6 @@ static int init_slave_thread(THD* thd, SLAVE_THD_TYPE thd_type)
|
|||
thd_proc_info(thd, "Waiting for the next event in relay log");
|
||||
else
|
||||
thd_proc_info(thd, "Waiting for master update");
|
||||
thd->version=refresh_version;
|
||||
thd->set_time();
|
||||
/* Do not use user-supplied timeout value for system threads. */
|
||||
thd->variables.lock_wait_timeout= LONG_TIMEOUT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue