~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_select.h

  • Committer: Brian Aker
  • Date: 2009-02-08 03:02:04 UTC
  • Revision ID: brian@tangent.org-20090208030204-3gz6xwcq5niux5nm
Class rewrite of Session (aka get all of the junk out)

Show diffs side-by-side

added added

removed removed

Lines of Context:
438
438
  Item      *having_history; ///< Store having for explain
439
439
  uint64_t  select_options;
440
440
  select_result *result;
441
 
  TMP_TABLE_PARAM tmp_table_param;
 
441
  Tmp_Table_Param tmp_table_param;
442
442
  DRIZZLE_LOCK *lock;
443
443
  /// unit structure (with global parameters) for this select
444
444
  Select_Lex_Unit *unit;
659
659
 
660
660
/* Extern functions in sql_select.cc */
661
661
bool store_val_in_field(Field *field, Item *val, enum_check_fields check_flag);
662
 
Table *create_tmp_table(Session *session,TMP_TABLE_PARAM *param,List<Item> &fields,
 
662
Table *create_tmp_table(Session *session,Tmp_Table_Param *param,List<Item> &fields,
663
663
                        order_st *group, bool distinct, bool save_sum_fields,
664
664
                        uint64_t select_options, ha_rows rows_limit,
665
665
                        char* alias);
666
666
void free_tmp_table(Session *session, Table *entry);
667
 
void count_field_types(Select_Lex *select_lex, TMP_TABLE_PARAM *param,
 
667
void count_field_types(Select_Lex *select_lex, Tmp_Table_Param *param,
668
668
                       List<Item> &fields, bool reset_with_sum_func);
669
 
bool setup_copy_fields(Session *session, TMP_TABLE_PARAM *param,
 
669
bool setup_copy_fields(Session *session, Tmp_Table_Param *param,
670
670
                       Item **ref_pointer_array,
671
671
                       List<Item> &new_list1, List<Item> &new_list2,
672
672
                       uint32_t elements, List<Item> &fields);
673
 
void copy_fields(TMP_TABLE_PARAM *param);
 
673
void copy_fields(Tmp_Table_Param *param);
674
674
void copy_funcs(Item **func_ptr);
675
675
Field* create_tmp_field_from_field(Session *session, Field* org_field,
676
676
                                   const char *name, Table *table,