~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

Extracted the LOAD command into its own class and implementation files.
Removed the corresponding case label from the switch statement.

Show diffs side-by-side

added added

removed removed

Lines of Context:
997
997
 
998
998
    break;
999
999
  }
1000
 
 
1001
 
  case SQLCOM_LOAD:
1002
 
  {
1003
 
    assert(first_table == all_tables && first_table != 0);
1004
 
    res= mysql_load(session, lex->exchange, first_table, lex->field_list,
1005
 
                    lex->update_list, lex->value_list, lex->duplicates, lex->ignore);
1006
 
    break;
1007
 
  }
1008
 
 
1009
1000
  case SQLCOM_SET_OPTION:
1010
1001
  {
1011
1002
    List<set_var_base> *lex_var_list= &lex->var_list;