~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/join.cc

  • Committer: Brian Aker
  • Date: 2011-01-26 23:20:53 UTC
  • mto: (2123.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2124.
  • Revision ID: brian@tangent.org-20110126232053-mlfifpupgy0dp2ea
Remove current_session from a couple of locations, encapsulate where in
session.

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
  if (having)
214
214
  {
215
215
    nesting_map save_allow_sum_func= session->lex->allow_sum_func;
216
 
    session->where="having clause";
 
216
    session->setWhere("having clause");
217
217
    session->lex->allow_sum_func|= 1 << select_lex_arg->nest_level;
218
218
    select_lex->having_fix_field= 1;
219
219
    bool having_fix_rc= (!having->fixed &&