~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2009-01-21 20:34:26 UTC
  • mto: This revision was merged to the branch mainline in revision 801.
  • Revision ID: brian@tangent.org-20090121203426-fivi1pf8h4481doy
Remove COM bits for replication

Show diffs side-by-side

added added

removed removed

Lines of Context:
1075
1075
        opt_extended_describe
1076
1076
        statement
1077
1077
        opt_field_or_var_spec fields_or_vars opt_load_data_set_spec
1078
 
        binlog_base64_event
1079
1078
        init_key_options key_options key_opts key_opt key_using_alg
1080
1079
        parse_vcol_expr vcol_opt_attribute vcol_opt_attribute_list
1081
1080
        vcol_attribute
1138
1137
statement:
1139
1138
          alter
1140
1139
        | analyze
1141
 
        | binlog_base64_event
1142
1140
        | check
1143
1141
        | checksum
1144
1142
        | commit
2535
2533
          {}
2536
2534
        ;
2537
2535
 
2538
 
binlog_base64_event:
2539
 
          BINLOG_SYM TEXT_STRING_sys
2540
 
          {
2541
 
            Lex->sql_command = SQLCOM_BINLOG_BASE64_EVENT;
2542
 
            Lex->comment= $2;
2543
 
          }
2544
 
        ;
2545
 
 
2546
2536
check:
2547
2537
          CHECK_SYM table_or_tables
2548
2538
          {
4057
4047
          {
4058
4048
            LEX *lex= Lex;
4059
4049
            lex->derived_tables|= DERIVED_SUBQUERY;
4060
 
            if (!lex->expr_allows_subselect ||
4061
 
                lex->sql_command == (int)SQLCOM_PURGE)
 
4050
            if (!lex->expr_allows_subselect)
4062
4051
            {
4063
4052
              my_parse_error(ER(ER_SYNTAX_ERROR));
4064
4053
              DRIZZLE_YYABORT;
6516
6505
subselect_start:
6517
6506
          {
6518
6507
            LEX *lex=Lex;
6519
 
            if (!lex->expr_allows_subselect ||
6520
 
               lex->sql_command == (int)SQLCOM_PURGE)
 
6508
            if (!lex->expr_allows_subselect)
6521
6509
            {
6522
6510
              my_parse_error(ER(ER_SYNTAX_ERROR));
6523
6511
              DRIZZLE_YYABORT;