~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/definitions.h

  • Committer: Brian Aker
  • Date: 2009-11-30 21:43:14 UTC
  • mto: (1234.1.3 push)
  • mto: This revision was merged to the branch mainline in revision 1235.
  • Revision ID: brian@gaz-20091130214314-ymi397e8rk15h5m5
MoreĀ table_flagsĀ converted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
332
332
#define HA_ADMIN_REJECT          -6
333
333
 
334
334
/*
335
 
  Reading keys in random order is as fast as reading keys in sort order
336
 
  (Used in records.cc to decide if we should use a record cache and by
337
 
  filesort to decide if we should sort key + data or key + pointer-to-row
338
 
*/
339
 
#define HA_FAST_KEY_READ       (1 << 5)
340
 
/*
341
335
  Set the following flag if we on delete should force all key to be read
342
336
  and on update read all keys that changes
343
337
*/
344
338
#define HA_REQUIRES_KEY_COLUMNS_FOR_DELETE (1 << 6)
345
339
#define HA_DUPLICATE_POS       (1 << 8)    /* ha_position() gives dup row */
346
 
#define HA_NO_BLOBS            (1 << 9) /* Doesn't support blobs */
347
340
#define HA_AUTO_PART_KEY       (1 << 11) /* auto-increment in multi-part key */
348
341
#define HA_REQUIRE_PRIMARY_KEY (1 << 12) /* .. and can't create a hidden one */
349
342
 
354
347
*/
355
348
#define HA_PRIMARY_KEY_REQUIRED_FOR_DELETE (1 << 19)
356
349
#define HA_NO_PREFIX_CHAR_KEYS (1 << 20)
357
 
#define HA_NO_AUTO_INCREMENT   (1 << 23)
358
350
#define HA_HAS_CHECKSUM        (1 << 24)
359
351
#define HA_NEED_READ_RANGE_BUFFER (1 << 29) /* for read_multi_range */
360
352
#define HA_ANY_INDEX_MAY_BE_UNIQUE (1 << 30)
361
 
#define HA_HAS_RECORDS         (INT64_C(1) << 32) /* records() gives exact count*/
362
353
 
363
354
/* bits in index_flags(index_number) for what you can do with index */
364
355
#define HA_READ_NEXT            1       /* TODO really use this flag */