~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sj_tmp_table.cc

  • Committer: Brian Aker
  • Date: 2008-08-16 22:34:15 UTC
  • mto: This revision was merged to the branch mainline in revision 346.
  • Revision ID: brian@tangent.org-20080816223415-n24esdpfcqi4pwpy
Refactor around classes. TABLE_LIST has been factored out of table.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    NULL on error
34
34
*/
35
35
 
36
 
TABLE *create_duplicate_weedout_tmp_table(THD *thd, 
 
36
Table *create_duplicate_weedout_tmp_table(THD *thd, 
37
37
                                          uint uniq_tuple_length_arg,
38
38
                                          SJ_TMP_TABLE *sjtbl)
39
39
{
40
40
  MEM_ROOT *mem_root_save, own_root;
41
 
  TABLE *table;
 
41
  Table *table;
42
42
  TABLE_SHARE *share;
43
43
  uint  temp_pool_slot=MY_BIT_NONE;
44
44
  char  *tmpname,path[FN_REFLEN];
101
101
  stpcpy(tmpname,path);
102
102
  
103
103
 
104
 
  /* STEP 4: Create TABLE description */
 
104
  /* STEP 4: Create Table description */
105
105
  memset(table, 0, sizeof(*table));
106
106
  memset(reg_field, 0, sizeof(Field*)*2);
107
107