~linuxjedi/drizzle/drizzle-gcc-4.7.0

« back to all changes in this revision

Viewing changes to drizzled/sql_load.cc

  • Committer: Olaf van der Spek
  • Date: 2011-04-08 14:46:29 UTC
  • mto: (2275.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2276.
  • Revision ID: olafvdspek@gmail.com-20110408144629-z2bdz3wwnsh03g4w
UseĀ util::string::ptr

Show diffs side-by-side

added added

removed removed

Lines of Context:
144
144
    If this is not set, we will use the directory where the table to be
145
145
    loaded is located
146
146
  */
147
 
  util::string::const_shared_ptr schema(session->schema());
 
147
  util::string::ptr schema(session->schema());
148
148
  const char *tdb= (schema and not schema->empty()) ? schema->c_str() : table_list->getSchemaName(); // Result should never be null
149
149
  assert(tdb);
150
150
  uint32_t skip_lines= ex->skip_lines;