~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_load.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:
140
140
    my_error(ER_WRONG_FIELD_TERMINATORS,MYF(0),enclosed->c_ptr(), enclosed->length());
141
141
    return(true);
142
142
  }
143
 
 
144
 
  if (session->openTablesLock(table_list))
 
143
  if (session->open_and_lock_tables(table_list))
145
144
    return(true);
146
 
 
147
145
  if (setup_tables_and_check_access(session, &session->lex->select_lex.context,
148
146
                                    &session->lex->select_lex.top_join_list,
149
147
                                    table_list,