~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_data.cc

  • Committer: Andrew Hutchings
  • Date: 2010-09-23 17:31:55 UTC
  • mto: (1792.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1793.
  • Revision ID: andrew@linuxjedi.co.uk-20100923173155-tx5fwd21l1jceo45
Add database destination settings and connect it all up
Add SET type handling

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
      os << *table;
138
138
    if (not opt_no_data)
139
139
    {
 
140
      obj.dcon->setDB(obj.databaseName);
140
141
      DrizzleDumpData *data= table->getData();
141
142
      os << *data;
142
143
      delete data;
373
374
 
374
375
  if (regex_search(version, mysql_regex, flags))
375
376
    serverType= SERVER_MYSQL_FOUND;
376
 
  
377
 
  if (regex_search(version, drizzle_regex, flags))
 
377
  else if (regex_search(version, drizzle_regex, flags))
378
378
    serverType= SERVER_DRIZZLE_FOUND;
379
 
 
380
 
  serverType= SERVER_UNKNOWN_FOUND;
 
379
  else
 
380
    serverType= SERVER_UNKNOWN_FOUND;
381
381
}
382
382
 
383
383
drizzle_result_st* DrizzleDumpConnection::query(std::string &str_query)