Commit b357caab authored by SergeyV@selena's avatar SergeyV@selena

Bug #13377. Small update, code formatting.

parent 3dec6a3b
...@@ -965,7 +965,7 @@ bool MYSQL_LOG::reset_logs(THD* thd) ...@@ -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) ...@@ -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);
......
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