~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_load.cc

  • Committer: Brian Aker
  • Date: 2010-03-31 05:53:34 UTC
  • Revision ID: brian@gaz-20100331055334-yqqmzlgqb2xq1p5b
Mass overhaul to use schema_identifier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
  info.handle_duplicates=handle_duplicates;
309
309
  info.escape_char=escaped->length() ? (*escaped)[0] : INT_MAX;
310
310
 
 
311
  SchemaIdentifier identifier(session->db);
311
312
  READ_INFO read_info(file, tot_length,
312
 
                      ex->cs ? ex->cs : plugin::StorageEngine::getSchemaCollation(session->db.c_str()),
313
 
                      *field_term,*ex->line_start, *ex->line_term, *enclosed,
 
313
                      ex->cs ? ex->cs : plugin::StorageEngine::getSchemaCollation(identifier),
 
314
                      *field_term, *ex->line_start, *ex->line_term, *enclosed,
314
315
                      info.escape_char, is_fifo);
315
316
  if (read_info.error)
316
317
  {