Commit 47f0a5aa authored by osku's avatar osku

srv_master_thread(): Remove unreachable code.

parent 5d3bf057
...@@ -2557,18 +2557,9 @@ suspend_thread: ...@@ -2557,18 +2557,9 @@ suspend_thread:
os_thread_exit(NULL); os_thread_exit(NULL);
} }
/* When there is user activity, InnoDB will set the event and the main /* When there is user activity, InnoDB will set the event and the
thread goes back to loop: */ main thread goes back to loop. */
goto loop; goto loop;
/* We count the number of threads in os_thread_exit(). A created
thread should always use that to exit and not use return() to exit.
The thread actually never comes here because it is exited in an
os_event_wait(). */
os_thread_exit(NULL);
OS_THREAD_DUMMY_RETURN;
} }
#endif /* !UNIV_HOTBACKUP */ #endif /* !UNIV_HOTBACKUP */
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