~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/base.h

  • Committer: Stewart Smith
  • Date: 2009-05-19 07:48:05 UTC
  • mto: (991.1.9 for-brian)
  • mto: This revision was merged to the branch mainline in revision 1033.
  • Revision ID: stewart@flamingspork.com-20090519074805-n3osbf0o2vluefgf
add missing result file for: add test for ALTER column DROP DEFAULT. Improves sql_yacc.yy code coverage (among other places)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#define HA_OPEN_WAIT_IF_LOCKED          1
38
38
#define HA_OPEN_IGNORE_IF_LOCKED        2
39
39
#define HA_OPEN_TMP_TABLE               4       /* Table is a temp table */
 
40
#define HA_OPEN_DELAY_KEY_WRITE         8       /* Don't update index  */
40
41
#define HA_OPEN_ABORT_IF_CRASHED        16
41
42
#define HA_OPEN_FOR_REPAIR              32      /* open even if crashed */
 
43
#define HA_OPEN_FROM_SQL_LAYER          64
 
44
#define HA_OPEN_MMAP                    128     /* open memory mapped */
 
45
#define HA_OPEN_COPY                    256     /* Open copy (for repair) */
42
46
/* Internal temp table, used for temporary results */
43
47
#define HA_OPEN_INTERNAL_TABLE          512
44
48
 
142
146
    to overwrite entire row.
143
147
  */
144
148
  HA_EXTRA_KEYREAD_PRESERVE_FIELDS,
 
149
  HA_EXTRA_MMAP,
145
150
  /*
146
151
    Ignore if the a tuple is not found, continue processing the
147
152
    transaction and ignore that 'row'.  Needed for idempotency
264
269
#define HA_OPTION_PACK_RECORD           1
265
270
#define HA_OPTION_PACK_KEYS             2
266
271
#define HA_OPTION_COMPRESS_RECORD       4
 
272
#define HA_OPTION_LONG_BLOB_PTR         8 /* new ISAM format */
267
273
#define HA_OPTION_TMP_TABLE             16
 
274
#define HA_OPTION_CHECKSUM              32
 
275
#define HA_OPTION_DELAY_KEY_WRITE       64
268
276
#define HA_OPTION_NO_PACK_KEYS          128  /* Reserved for MySQL */
269
277
#define HA_OPTION_CREATE_FROM_ENGINE    256
 
278
#define HA_OPTION_RELIES_ON_SQL_LAYER   512
270
279
#define HA_OPTION_NULL_FIELDS           1024
271
280
#define HA_OPTION_PAGE_CHECKSUM         2048
272
281
#define HA_OPTION_TEMP_COMPRESS_RECORD  ((uint32_t) 16384)      /* set by isamchk */
277
286
#define HA_DONT_TOUCH_DATA      1       /* Don't empty datafile (isamchk) */
278
287
#define HA_PACK_RECORD          2       /* Request packed record format */
279
288
#define HA_CREATE_TMP_TABLE     4
 
289
#define HA_CREATE_CHECKSUM      8
280
290
#define HA_CREATE_KEEP_FILES    16      /* don't overwrite .MYD and MYI */
 
291
#define HA_CREATE_PAGE_CHECKSUM 32
 
292
#define HA_CREATE_DELAY_KEY_WRITE 64
 
293
#define HA_CREATE_RELIES_ON_SQL_LAYER 128
281
294
 
282
295
/*
283
296
  The following flags (OR-ed) are passed to handler::info() method.
509
522
{
510
523
  const unsigned char *key;
511
524
  uint32_t length;
 
525
  key_part_map keypart_map;
512
526
  enum ha_rkey_function flag;
513
 
  key_part_map keypart_map;
514
527
} key_range;
515
528
 
516
529
typedef struct st_key_multi_range