~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Olaf van der Spek
  • Date: 2011-06-27 14:23:35 UTC
  • mto: This revision was merged to the branch mainline in revision 2350.
  • Revision ID: olafvdspek@gmail.com-20110627142335-38y17d8xxczy6ilm
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
3815
3815
using_list:
3816
3816
          ident
3817
3817
          {
3818
 
            if (!($$= new List<String>))
3819
 
              DRIZZLE_YYABORT;
 
3818
            $$= new List<String>;
3820
3819
            $$->push_back(new (YYSession->mem_root)
3821
3820
                              String((const char *) $1.str, $1.length,
3822
3821
                                      system_charset_info));
4113
4112
 
4114
4113
select_var_list_init:
4115
4114
          {
4116
 
            if (not Lex.describe && (not (Lex.result= new select_dumpvar())))
4117
 
              DRIZZLE_YYABORT;
 
4115
            if (not Lex.describe)
 
4116
                          Lex.result= new select_dumpvar;
4118
4117
          }
4119
4118
          select_var_list
4120
4119
          {}
4384
4383
no_braces:
4385
4384
          '('
4386
4385
          {
4387
 
              if (!(Lex.insert_list = new List_item))
4388
 
                DRIZZLE_YYABORT;
 
4386
              Lex.insert_list = new List_item;
4389
4387
          }
4390
4388
          opt_values ')'
4391
4389
          {