Commit 8c432605 authored by sasha@mysql.sashanet.com's avatar sasha@mysql.sashanet.com
Browse files

fixed HUP bug, last fix was not complete

parent 6ae2b46c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1375,7 +1375,8 @@ static void *signal_hand(void *arg __attribute__((unused)))
      }
      break;
    case SIGHUP:
      reload_acl_and_cache((THD*) 0,~0, (TABLE_LIST*) 0); // Flush everything
      reload_acl_and_cache((THD*) 0,REFRESH_LOG,
			   (TABLE_LIST*) 0); // Flush logs
      mysql_print_status((THD*) 0);		// Send debug some info
      break;
#ifdef USE_ONE_SIGNAL_HAND