~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_drizzle.cc

  • Committer: Andrew Hutchings
  • Date: 2010-10-15 12:45:07 UTC
  • mto: (1856.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1857.
  • Revision ID: andrew@linuxjedi.co.uk-20101015124507-o8xj97x2rck5emgj
Fix drizzledump support again

Show diffs side-by-side

added added

removed removed

Lines of Context:
269
269
  if (verbose)
270
270
    std::cerr << _("-- Retrieving foreign keys for ") << tableName << "..." << std::endl;
271
271
 
272
 
  query= "SELECT CONSTRAINT_NAME, CONSTRAINT_COLUMNS, REFERENCED_TABLE_NAME, REFERENCED_TABLE_COLUMNS, MATCH_OPTION, DELETE_RULE, UPDATE_RULE FROM DATA_DICTIONARY.REFERENTIAL_CONSTRAINTS WHERE CONSTRAINT_SCHEMA='";
 
272
  query= "SELECT CONSTRAINT_NAME, CONSTRAINT_COLUMNS, REFERENCED_TABLE_NAME, REFERENCED_TABLE_COLUMNS, MATCH_OPTION, DELETE_RULE, UPDATE_RULE FROM DATA_DICTIONARY.FOREIGN_KEYS WHERE CONSTRAINT_SCHEMA='";
273
273
  query.append(database->databaseName);
274
274
  query.append("' AND CONSTRAINT_TABLE='");
275
275
  query.append(tableName);