~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_select.cc

  • Committer: Monty Taylor
  • Date: 2008-11-18 22:12:56 UTC
  • mto: (589.1.3 devel)
  • mto: This revision was merged to the branch mainline in revision 589.
  • Revision ID: monty@inaugust.com-20081118221256-ap2kmj073pdw7uap
The mega-patch from hell. Renamed sql_class to session (since that's what it is) and removed it and field and table from common_includes. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#include <drizzled/show.h>
39
39
#include <drizzled/item/cmpfunc.h>
40
40
#include <drizzled/cached_item.h>
 
41
#include <drizzled/sql_base.h>
41
42
 
42
43
#include CMATH_H
43
44
 
406
407
  Function to setup clauses without sum functions.
407
408
*/
408
409
inline int setup_without_group(Session *session, Item **ref_pointer_array,
409
 
                               TableList *tables,
410
 
                               TableList *leaves,
411
 
                               List<Item> &fields,
412
 
                               List<Item> &all_fields,
413
 
                               COND **conds,
414
 
                               order_st *order,
415
 
                               order_st *group, bool *hidden_group_fields)
 
410
                               TableList *tables,
 
411
                               TableList *leaves,
 
412
                               List<Item> &fields,
 
413
                               List<Item> &all_fields,
 
414
                               COND **conds,
 
415
                               order_st *order,
 
416
                               order_st *group, bool *hidden_group_fields)
416
417
{
417
418
  int res;
418
419
  nesting_map save_allow_sum_func=session->lex->allow_sum_func ;