~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sj_tmp_table.cc

  • Committer: Brian Aker
  • Date: 2009-04-29 01:45:36 UTC
  • mfrom: (1000.1.6 merge)
  • Revision ID: brian@gaz-20090429014536-pwu5m8ug6n8fvh68
Merge refactoring (mainly around TABLE_SHARE... one step forward...)

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
{
62
62
  MEM_ROOT *mem_root_save, own_root;
63
63
  Table *table;
64
 
  TABLE_SHARE *share;
 
64
  TableShare *share;
65
65
  uint32_t temp_pool_slot= MY_BIT_NONE;
66
66
  char  *tmpname,path[FN_REFLEN];
67
67
  Field **reg_field;
143
143
  table->keys_in_use_for_query.init();
144
144
 
145
145
  table->s= share;
146
 
  init_tmp_table_share(session, share, "", 0, tmpname, tmpname);
 
146
  share->init(tmpname, tmpname);
147
147
  share->blob_field= blob_field;
148
148
  share->blob_ptr_size= portable_sizeof_char_ptr;
149
149
  share->db_low_byte_first=1;                // True for HEAP and MyISAM