From b684173e3352c954a07845b891caae42462e9f0e Mon Sep 17 00:00:00 2001 From: Luis Soares Date: Wed, 24 Mar 2010 18:55:06 +0000 Subject: [PATCH] BUG#52341: PB2: rpl tests started taking three times more time on linux x86_64 max Rpl tests were surprisingly taking too long when server was built using cmake on linux. This was because cmake counter part of patch for WL#4949 was not defining SIGNAL_WITH_VIO_CLOSE flag, which had negative impact on the time needed to stop the slave IO thread on STOP SLAVE command. We fix this by deploy the missing SET command on configure.cmake. --- configure.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.cmake b/configure.cmake index 31e38aaa2cd..94d2cfd5804 100644 --- a/configure.cmake +++ b/configure.cmake @@ -913,6 +913,7 @@ ENDIF() SET(NO_ALARM "${HAVE_SOCKET_TIMEOUT}" CACHE BOOL "No need to use alarm to implement socket timeout") +SET(SIGNAL_WITH_VIO_CLOSE "${HAVE_SOCKET_TIMEOUT}") MARK_AS_ADVANCED(NO_ALARM)