We want levels to be in growing order of hardness (because we use number comparisons).
| Enumerator |
|---|
| SHUTDOWN_DEFAULT | |
| SHUTDOWN_WAIT_CONNECTIONS | Wait for existing connections to finish.
|
| SHUTDOWN_WAIT_TRANSACTIONS | Wait for existing transactons to finish.
|
| SHUTDOWN_WAIT_UPDATES | Wait for existing updates to finish (=> no partial MyISAM update)
|
| SHUTDOWN_WAIT_ALL_BUFFERS | Flush InnoDB buffers and other storage engines' buffers.
|
| SHUTDOWN_WAIT_CRITICAL_BUFFERS | Don't flush InnoDB buffers, flush other storage engines' buffers.
|
| KILL_QUERY | Query level of the KILL command.
|
| KILL_CONNECTION | Connection level of the KILL command.
|