~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_create.c

  • Committer: Brian Aker
  • Date: 2008-07-06 15:03:34 UTC
  • Revision ID: brian@tangent.org-20080706150334-xv3xa202trvs0712
USE_RAID cleanup, along with ftbench tools.

Show diffs side-by-side

added added

removed removed

Lines of Context:
482
482
  share.base.pack_bits=packed;
483
483
  share.base.fields=fields;
484
484
  share.base.pack_fields=packed;
485
 
#ifdef USE_RAID
486
 
  share.base.raid_type=ci->raid_type;
487
 
  share.base.raid_chunks=ci->raid_chunks;
488
 
  share.base.raid_chunksize=ci->raid_chunksize;
489
 
#endif
490
485
 
491
486
  /* max_data_file_length and max_key_file_length are recalculated on open */
492
487
  if (options & HA_OPTION_TMP_TABLE)
573
568
 
574
569
  if (!(flags & HA_DONT_TOUCH_DATA))
575
570
  {
576
 
#ifdef USE_RAID
577
 
    if (share.base.raid_type)
578
 
    {
579
 
      (void) fn_format(filename, name, "", MI_NAME_DEXT,
580
 
                       MY_UNPACK_FILENAME | MY_APPEND_EXT);
581
 
      if ((dfile=my_raid_create(filename, 0, create_mode,
582
 
                                share.base.raid_type,
583
 
                                share.base.raid_chunks,
584
 
                                share.base.raid_chunksize,
585
 
                                MYF(MY_WME | MY_RAID))) < 0)
586
 
        goto err;
587
 
    }
588
 
    else
589
 
#endif
590
571
    {
591
572
      if (ci->data_file_name)
592
573
      {