~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/ha_heap.cc

  • Committer: Brian Aker
  • Date: 2009-08-17 15:34:55 UTC
  • mto: (1117.1.9 merge)
  • mto: This revision was merged to the branch mainline in revision 1118.
  • Revision ID: brian@gaz-20090817153455-emrlqx6cbxo9knfm
Fix for Stewart's patch (includes hack to solve MAX rows problem).

Show diffs side-by-side

added added

removed removed

Lines of Context:
822
822
  hp_create_info.is_dynamic= (share->row_type == ROW_TYPE_DYNAMIC);
823
823
  error= heap_create(fn_format(buff,table_name,"","",
824
824
                               MY_REPLACE_EXT|MY_UNPACK_FILENAME),
825
 
                   keys, keydef,
826
 
         column_count, columndef,
827
 
         max_key_fieldnr, key_part_size,
828
 
         share->reclength, mem_per_row_keys,
829
 
         (uint32_t) share->max_rows, (uint32_t) share->min_rows,
830
 
         &hp_create_info, internal_share);
 
825
                     keys, keydef,
 
826
                     column_count, columndef,
 
827
                     max_key_fieldnr, key_part_size,
 
828
                     share->reclength, mem_per_row_keys,
 
829
                     share->getMaxRows(),
 
830
                     share->getMinRows(),
 
831
                     &hp_create_info, internal_share);
831
832
 
832
833
  free((unsigned char*) keydef);
833
834
  free((void *) columndef);