mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Bug #13377. Small update, code formatting.
This commit is contained in:
parent
b63b06dcbb
commit
c1a658cda7
1 changed files with 2 additions and 2 deletions
|
|
@ -965,7 +965,7 @@ bool MYSQL_LOG::reset_logs(THD* thd)
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
||||||
reset_pending = true;
|
reset_pending= true;
|
||||||
/*
|
/*
|
||||||
send update signal just in case so that all reader threads waiting
|
send update signal just in case so that all reader threads waiting
|
||||||
for log update will leave wait condition
|
for log update will leave wait condition
|
||||||
|
|
@ -996,7 +996,7 @@ bool MYSQL_LOG::reset_logs(THD* thd)
|
||||||
my_free((gptr) save_name, MYF(0));
|
my_free((gptr) save_name, MYF(0));
|
||||||
|
|
||||||
err:
|
err:
|
||||||
reset_pending = false;
|
reset_pending= false;
|
||||||
|
|
||||||
(void) pthread_mutex_unlock(&LOCK_thread_count);
|
(void) pthread_mutex_unlock(&LOCK_thread_count);
|
||||||
pthread_mutex_unlock(&LOCK_readers);
|
pthread_mutex_unlock(&LOCK_readers);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue