1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Revert SIGINT patch as Monty requested

This commit is contained in:
peter@mysql.com
2002-08-04 17:14:51 +04:00
parent 84b7a32a64
commit 005dade809

View File

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