~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 05:37:09 UTC
  • mto: (2060.2.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2063.
  • Revision ID: brian@tangent.org-20101230053709-4j7r1u4a4r3srgzr
PAren shift

Show diffs side-by-side

added added

removed removed

Lines of Context:
1124
1124
create_table_definition:
1125
1125
          '(' field_list ')' opt_create_table_options  create_select_as
1126
1126
          { }
1127
 
        | '(' create_list 
 
1127
        | '(' create_select ')'
 
1128
           {
 
1129
             Lex->current_select->set_braces(1);
 
1130
           }
 
1131
           union_opt {}
 
1132
        |  '(' create_like ')' opt_create_table_options
1128
1133
          { }
1129
1134
        | create_like opt_create_table_options
1130
1135
          { }
1134
1139
          }
1135
1140
        ;
1136
1141
 
1137
 
create_list:
1138
 
           create_select ')'
1139
 
           { Lex->current_select->set_braces(1);}
1140
 
           union_opt {}
1141
 
        |  create_like ')' opt_create_table_options
1142
 
          { }
1143
 
        ;
1144
 
 
1145
1142
create_select_as:
1146
1143
          /* empty */ {}
1147
1144
        | opt_duplicate_as create_select