Commit dc08c3b1 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-10180 main.events_restart fails on valgrind builder: void...

MDEV-10180 main.events_restart fails on valgrind builder: void THD::inc_thread_count(): Assertion `!abort_loop' failed.

remove an overly strong assert
parent 9de67083
...@@ -1917,7 +1917,6 @@ class THD :public Statement, ...@@ -1917,7 +1917,6 @@ class THD :public Statement,
void inc_thread_count(void) void inc_thread_count(void)
{ {
thread_safe_increment32(const_cast<int32*>(&thread_count)); thread_safe_increment32(const_cast<int32*>(&thread_count));
DBUG_ASSERT(!abort_loop);
} }
public: public:
......
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