~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 03:50:47 UTC
  • mto: (2060.2.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2063.
  • Revision ID: brian@tangent.org-20101230035047-ulpti8jvoptg3741
Merged in field_list rule.

Show diffs side-by-side

added added

removed removed

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