~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_select.cc

  • 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:
10545
10545
Next_select_func setup_end_select_func(JOIN *join)
10546
10546
{
10547
10547
  Table *table= join->tmp_table;
10548
 
  TMP_TABLE_PARAM *tmp_tbl= &join->tmp_table_param;
 
10548
  Tmp_Table_Param *tmp_tbl= &join->tmp_table_param;
10549
10549
  Next_select_func end_select;
10550
10550
 
10551
10551
  /* Set up select_end */
10575
10575
        /*
10576
10576
          A preceding call to create_tmp_table in the case when loose
10577
10577
          index scan is used guarantees that
10578
 
          TMP_TABLE_PARAM::items_to_copy has enough space for the group
 
10578
          Tmp_Table_Param::items_to_copy has enough space for the group
10579
10579
          by functions. It is OK here to use memcpy since we copy
10580
10580
          Item_sum pointers into an array of Item pointers.
10581
10581
        */
14455
14455
*/
14456
14456
 
14457
14457
void
14458
 
count_field_types(Select_Lex *select_lex, TMP_TABLE_PARAM *param,
 
14458
count_field_types(Select_Lex *select_lex, Tmp_Table_Param *param,
14459
14459
                  List<Item> &fields, bool reset_with_sum_func)
14460
14460
{
14461
14461
  List_iterator<Item> li(fields);
14746
14746
*/
14747
14747
 
14748
14748
bool
14749
 
setup_copy_fields(Session *session, TMP_TABLE_PARAM *param,
 
14749
setup_copy_fields(Session *session, Tmp_Table_Param *param,
14750
14750
                  Item **ref_pointer_array,
14751
14751
                  List<Item> &res_selected_fields, List<Item> &res_all_fields,
14752
14752
                  uint32_t elements, List<Item> &all_fields)
14883
14883
*/
14884
14884
 
14885
14885
void
14886
 
copy_fields(TMP_TABLE_PARAM *param)
 
14886
copy_fields(Tmp_Table_Param *param)
14887
14887
{
14888
14888
  Copy_field *ptr=param->copy_field;
14889
14889
  Copy_field *end=param->copy_field_end;