~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_union.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:
194
194
  SELECT_LEX *sl, *first_sl= first_select();
195
195
  select_result *tmp_result;
196
196
  bool is_union_select;
197
 
  TABLE *empty_table= 0;
 
197
  Table *empty_table= 0;
198
198
 
199
199
  describe= test(additional_options & SELECT_DESCRIBE);
200
200
 
300
300
        field object without table.
301
301
      */
302
302
      assert(!empty_table);
303
 
      empty_table= (TABLE*) thd->calloc(sizeof(TABLE));
 
303
      empty_table= (Table*) thd->calloc(sizeof(Table));
304
304
      types.empty();
305
305
      List_iterator_fast<Item> it(sl->item_list);
306
306
      Item *item_tmp;