Adding SHUTDOWN_WAIT_STATEMENTS to the possible arguments of mysql_shutdown().
Comments on names still welcome. include/mysql_com.h: one more possible shutdown level
This commit is contained in:
parent
aba49a6c0b
commit
408dad07a9
@ -239,8 +239,9 @@ enum enum_shutdown_level {
|
||||
*/
|
||||
SHUTDOWN_WAIT_CRITICAL_BUFFERS= 10, /* flush MyISAM buffs (no corruption) */
|
||||
SHUTDOWN_WAIT_ALL_BUFFERS= 20, /* flush InnoDB buffers */
|
||||
SHUTDOWN_WAIT_TRANSACTIONS= 30, /* wait for existing trans to finish */
|
||||
SHUTDOWN_WAIT_CONNECTIONS= 40 /* wait for existing connections to finish */
|
||||
SHUTDOWN_WAIT_STATEMENTS= 30,
|
||||
SHUTDOWN_WAIT_TRANSACTIONS= 40, /* wait for existing trans to finish */
|
||||
SHUTDOWN_WAIT_CONNECTIONS= 50 /* wait for existing connections to finish */
|
||||
};
|
||||
|
||||
/* options for mysql_set_option */
|
||||
|
Loading…
x
Reference in New Issue
Block a user