339
339
DRIZZLE_TYPE_BLOB=255
342
enum drizzle_enum_shutdown_level {
344
We want levels to be in growing order of hardness (because we use number
345
comparisons). Note that DEFAULT does not respect the growing property, but
348
SHUTDOWN_DEFAULT = 0,
349
/* wait for existing connections to finish */
350
SHUTDOWN_WAIT_CONNECTIONS= DRIZZLE_SHUTDOWN_KILLABLE_CONNECT,
351
/* wait for existing trans to finish */
352
SHUTDOWN_WAIT_TRANSACTIONS= DRIZZLE_SHUTDOWN_KILLABLE_TRANS,
353
/* wait for existing updates to finish (=> no partial MyISAM update) */
354
SHUTDOWN_WAIT_UPDATES= DRIZZLE_SHUTDOWN_KILLABLE_UPDATE,
355
/* flush InnoDB buffers and other storage engines' buffers*/
356
SHUTDOWN_WAIT_ALL_BUFFERS= (DRIZZLE_SHUTDOWN_KILLABLE_UPDATE << 1),
357
/* don't flush InnoDB buffers, flush other storage engines' buffers*/
358
SHUTDOWN_WAIT_CRITICAL_BUFFERS= (DRIZZLE_SHUTDOWN_KILLABLE_UPDATE << 1) + 1,
359
/* Now the 2 levels of the KILL command */
365
343
enum enum_cursor_type