~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Harrison Fisk
  • Date: 2008-08-05 05:01:04 UTC
  • mto: (261.1.8 drizzle)
  • mto: This revision was merged to the branch mainline in revision 264.
  • Revision ID: harrison@mysql.com-20080805050104-bz1tt53bp1dg996e
Port Ebay/Google memory storage engine variable width columns.  

See: http://code.google.com/p/mysql-heap-dynamic-rows/

Show diffs side-by-side

added added

removed removed

Lines of Context:
534
534
    share->transactional= (ha_choice) (head[39] & 3);
535
535
    share->page_checksum= (ha_choice) ((head[39] >> 2) & 3);
536
536
    share->row_type= (row_type) head[40];
 
537
    share->block_size= uint4korr(head+43);
537
538
    share->table_charset= get_charset((uint) head[38],MYF(0));
538
539
    share->null_field_first= 1;
539
540
  }
2095
2096
    /* Next few bytes where for RAID support */
2096
2097
    fileinfo[41]= 0;
2097
2098
    fileinfo[42]= 0;
2098
 
    fileinfo[43]= 0;
 
2099
    int4store(fileinfo+43,create_info->block_size);
 
2100
 
2099
2101
    fileinfo[44]= 0;
2100
2102
    fileinfo[45]= 0;
2101
2103
    fileinfo[46]= 0;
2138
2140
  create_info->min_rows= share->min_rows;
2139
2141
  create_info->table_options= share->db_create_options;
2140
2142
  create_info->avg_row_length= share->avg_row_length;
 
2143
  create_info->block_size= share->block_size;
2141
2144
  create_info->row_type= share->row_type;
2142
2145
  create_info->default_table_charset= share->table_charset;
2143
2146
  create_info->table_charset= 0;