~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2010-12-30 02:29:12 UTC
  • mto: (2060.2.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2063.
  • Revision ID: brian@tangent.org-20101230022912-5sdcuuc2s6bzf0sx
Cleanup naming.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1170
1170
        ;
1171
1171
 
1172
1172
create_select:
 
1173
          stored_select
 
1174
          {
 
1175
          }
 
1176
        ;
 
1177
 
 
1178
/*
 
1179
  This rule is used for both CREATE TABLE .. SELECT,  AND INSERT ... SELECT
 
1180
*/
 
1181
stored_select:
1173
1182
          SELECT_SYM
1174
1183
          {
1175
1184
            LEX *lex=Lex;
4732
4741
insert_values:
4733
4742
          VALUES values_list {}
4734
4743
        | VALUE_SYM values_list {}
4735
 
        | create_select
4736
 
          { Lex->current_select->set_braces(0);}
 
4744
        | stored_select
 
4745
          {
 
4746
            Lex->current_select->set_braces(0);
 
4747
          }
4737
4748
          union_clause {}
4738
 
        | '(' create_select ')'
4739
 
          { Lex->current_select->set_braces(1);}
 
4749
        | '(' stored_select ')'
 
4750
          {
 
4751
            Lex->current_select->set_braces(1);
 
4752
          }
4740
4753
          union_opt {}
4741
4754
        ;
4742
4755