~stewart/drizzle/embedded-innodb-rnd-read

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Stewart Smith
  • Date: 2010-04-03 05:03:17 UTC
  • mfrom: (1310.1.43)
  • Revision ID: stewart@flamingspork.com-20100403050317-d5l3aqqa2p411bos
Merged embedded-innodb-write-row into embedded-innodb-rnd-read.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4833
4833
             if (session->add_item_to_list(my_field))
4834
4834
               DRIZZLE_YYABORT;
4835
4835
           }
 
4836
         | TEMPORARY_SYM TABLES show_wild
 
4837
           {
 
4838
             LEX *lex= Lex;
 
4839
             Session *session= YYSession;
 
4840
 
 
4841
             lex->sql_command= SQLCOM_SELECT;
 
4842
 
 
4843
             statement::Select *select=
 
4844
               new(std::nothrow) statement::Select(YYSession);
 
4845
 
 
4846
             lex->statement= select;
 
4847
 
 
4848
             if (lex->statement == NULL)
 
4849
               DRIZZLE_YYABORT;
 
4850
 
 
4851
 
 
4852
             if (prepare_new_schema_table(YYSession, lex, "SHOW_TEMPORARY_TABLES"))
 
4853
               DRIZZLE_YYABORT;
 
4854
 
 
4855
             if (session->add_item_to_list( new Item_field(&session->lex->current_select->
 
4856
                                                           context,
 
4857
                                                           NULL, NULL, "*")))
 
4858
               DRIZZLE_YYABORT;
 
4859
             (session->lex->current_select->with_wild)++;
 
4860
 
 
4861
           }
4836
4862
         | TABLE_SYM STATUS_SYM opt_db show_wild
4837
4863
           {
4838
4864
             LEX *lex= Lex;