Commit 005dade8 authored by peter@mysql.com's avatar peter@mysql.com

Revert SIGINT patch as Monty requested

parent 84b7a32a
...@@ -706,10 +706,10 @@ pthread_handler_decl(handle_bootstrap,arg) ...@@ -706,10 +706,10 @@ pthread_handler_decl(handle_bootstrap,arg)
thd->dbug_thread_id=my_thread_id(); thd->dbug_thread_id=my_thread_id();
#if !defined(__WIN__) && !defined(OS2) #if !defined(__WIN__) && !defined(OS2)
sigset_t set; sigset_t set;
VOID(sigemptyset(&set)); VOID(sigemptyset(&set)); // Get mask in use
VOID(sigaddset(&set,SIGINT)); VOID(pthread_sigmask(SIG_UNBLOCK,&set,&thd->block_signals));
// Get mask in use and block SIGINT
VOID(pthread_sigmask(SIG_BLOCK,&set,&thd->block_signals));
#endif #endif
if ((ulong) thd->variables.max_join_size == (ulong) HA_POS_ERROR) if ((ulong) thd->variables.max_join_size == (ulong) HA_POS_ERROR)
......
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