~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_yacc.yy

  • Committer: Brian Aker
  • Date: 2009-02-05 07:50:45 UTC
  • mfrom: (831.1.3 insert)
  • Revision ID: brian@tangent.org-20090205075045-2jumebo4fa85oc4m
Merge me (aka brian)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4539
4539
          OUTFILE TEXT_STRING_filesystem
4540
4540
          {
4541
4541
            LEX *lex= Lex;
4542
 
            if (!(lex->exchange= new sql_exchange($2.str, 0)) ||
 
4542
            if (!(lex->exchange= new file_exchange($2.str, 0)) ||
4543
4543
                !(lex->result= new select_export(lex->exchange)))
4544
4544
              DRIZZLE_YYABORT;
4545
4545
          }
4549
4549
            LEX *lex=Lex;
4550
4550
            if (!lex->describe)
4551
4551
            {
4552
 
              if (!(lex->exchange= new sql_exchange($2.str,1)))
 
4552
              if (!(lex->exchange= new file_exchange($2.str,1)))
4553
4553
                DRIZZLE_YYABORT;
4554
4554
              if (!(lex->result= new select_dump(lex->exchange)))
4555
4555
                DRIZZLE_YYABORT;
5230
5230
            lex->local_file=  $5;
5231
5231
            lex->duplicates= DUP_ERROR;
5232
5232
            lex->ignore= 0;
5233
 
            if (!(lex->exchange= new sql_exchange($7.str, 0, $2)))
 
5233
            if (!(lex->exchange= new file_exchange($7.str, 0, $2)))
5234
5234
              DRIZZLE_YYABORT;
5235
5235
          }
5236
5236
          opt_duplicate INTO