~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Monty Taylor
  • Date: 2010-05-12 05:00:55 UTC
  • mto: (1527.1.5 staging)
  • mto: This revision was merged to the branch mainline in revision 1529.
  • Revision ID: mordred@inaugust.com-20100512050055-i0kvg8xpr9dupz54
Wrap the libraries in if BUILD_*_PLUGIN so that they don't build when we're
disabling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
902
902
        insert_values update delete truncate rename
903
903
        show describe load alter flush
904
904
        begin commit rollback savepoint release
905
 
        analyze check start checksum
 
905
        analyze check start
906
906
        field_list field_list_item field_spec kill column_def key_def
907
907
        select_item_list select_item values_list no_braces
908
908
        opt_limit_clause delete_limit_clause fields opt_values values
989
989
          alter
990
990
        | analyze
991
991
        | check
992
 
        | checksum
993
992
        | commit
994
993
        | create
995
994
        | delete
2413
2412
          }
2414
2413
        ;
2415
2414
 
2416
 
 
2417
 
checksum:
2418
 
          CHECKSUM_SYM table_or_tables
2419
 
          {
2420
 
            LEX *lex=Lex;
2421
 
            lex->sql_command = SQLCOM_CHECKSUM;
2422
 
            lex->statement= new(std::nothrow) statement::Checksum(YYSession);
2423
 
            if (lex->statement == NULL)
2424
 
              DRIZZLE_YYABORT;
2425
 
          }
2426
 
          table_list
2427
 
          {}
2428
 
        ;
2429
 
 
2430
 
 
2431
2415
analyze:
2432
2416
          ANALYZE_SYM table_or_tables
2433
2417
          {