~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Olaf van der Spek
  • Date: 2011-11-09 19:27:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2457.
  • Revision ID: olafvdspek@gmail.com-20111109192744-xgu8uyi2f89ebwd1
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
3704
3704
            /* for normal joins, $3 != NULL and end_nested_join() != NULL,
3705
3705
               for derived tables, both must equal NULL */
3706
3706
 
3707
 
            if (!($$= $1->end_nested_join()) && $3)
 
3707
            if (!($$= $1->end_nested_join(Lex.session)) && $3)
3708
3708
              DRIZZLE_YYABORT;
3709
3709
 
3710
3710
            if (!$3 && $$)
3745
3745
          {
3746
3746
            Select_Lex *sel= Lex.current_select;
3747
3747
            TableList *embedding;
3748
 
            if (!sel->embedding || sel->end_nested_join())
 
3748
            if (!sel->embedding || sel->end_nested_join(Lex.session))
3749
3749
            {
3750
3750
              /* we are not in parentheses */
3751
3751
              parser::my_parse_error(YYSession->m_lip);