~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/drizzle_com.h

  • Committer: Monty Taylor
  • Date: 2008-10-06 04:45:56 UTC
  • mfrom: (438.1.13 drizzle)
  • Revision ID: monty@inaugust.com-20081006044556-5urk8k3yhnnl3o1p
Merged in from trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
                        DRIZZLE_TYPE_BLOB=255
340
340
};
341
341
 
342
 
enum drizzle_enum_shutdown_level {
343
 
  /*
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
346
 
    it's ok.
347
 
  */
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 */
360
 
  KILL_QUERY= 254,
361
 
  KILL_CONNECTION= 255
362
 
};
363
 
 
364
342
 
365
343
enum enum_cursor_type
366
344
{