Commit d9d47c6a authored by unknown's avatar unknown
Browse files

srv0start.c:

  innobase_shutdown_for_mysql(): Do very fast shutdown
  only if srv_fast_shutdown==2, not if srv_fast_shutdown!=0
  (Bug #9673)


innobase/srv/srv0start.c:
  innobase_shutdown_for_mysql(): Do very fast shutdown
  only if srv_fast_shutdown==2, not if srv_fast_shutdown!=0
  (Bug #9673)
parent 9ae42419
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1758,8 +1758,9 @@ innobase_shutdown_for_mysql(void)
        to die; all which counts is that we flushed the log; a 'very fast'
        shutdown is essentially a crash. */

        if (srv_fast_shutdown)
          return((int) DB_SUCCESS);
	if (srv_fast_shutdown == 2) {
		return(DB_SUCCESS);
	}

	/* All threads end up waiting for certain events. Put those events
	to the signaled state. Then the threads will exit themselves in