~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2010-10-27 20:22:26 UTC
  • mto: This revision was merged to the branch mainline in revision 1886.
  • Revision ID: brian@tangent.org-20101027202226-72a4nwhfz5c6srgu
Update documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4795
4795
          {}
4796
4796
        ;
4797
4797
 
 
4798
/* SHOW SCHEMAS */
4798
4799
show_param:
4799
4800
           DATABASES show_wild
4800
4801
           {
4836
4837
              if (session->add_order_to_list(my_field, true))
4837
4838
                DRIZZLE_YYABORT;
4838
4839
           }
 
4840
           /* SHOW TABLES */
4839
4841
         | TABLES opt_db show_wild
4840
4842
           {
4841
4843
             LEX *lex= Lex;
4896
4898
              if (session->add_order_to_list(my_field, true))
4897
4899
                DRIZZLE_YYABORT;
4898
4900
           }
 
4901
           /* SHOW TEMPORARY TABLES */
4899
4902
         | TEMPORARY_SYM TABLES show_wild
4900
4903
           {
4901
4904
             LEX *lex= Lex;
4922
4925
             (session->lex->current_select->with_wild)++;
4923
4926
 
4924
4927
           }
 
4928
           /* SHOW TABLE STATUS */
4925
4929
         | TABLE_SYM STATUS_SYM opt_db show_wild
4926
4930
           {
4927
4931
             LEX *lex= Lex;
4964
4968
               DRIZZLE_YYABORT;
4965
4969
             (session->lex->current_select->with_wild)++;
4966
4970
           }
 
4971
           /* SHOW COLUMNS FROM table_name */
4967
4972
        | COLUMNS from_or_in table_ident opt_db show_wild
4968
4973
          {
4969
4974
             LEX *lex= Lex;
5006
5011
             (session->lex->current_select->with_wild)++;
5007
5012
 
5008
5013
          }
 
5014
          /* SHOW INDEXES from table */
5009
5015
        | keys_or_index from_or_in table_ident opt_db where_clause
5010
5016
          {
5011
5017
             LEX *lex= Lex;