~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_drizzle.cc

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
    else
69
69
      table->comment= "";
70
70
 
71
 
    table->replicate= (strcmp(row[5], "1") == 0) ? true : false;
 
71
    table->replicate= strcmp(row[5], "1") == 0;
72
72
    table->database= this;
73
73
    if ((not table->populateFields()) or (not table->populateIndexes()) or
74
74
      (not table->populateFkeys()))
126
126
      table->displayName= displayName;
127
127
      table->collate= row[1];
128
128
      table->engineName= row[2];
129
 
      table->replicate= (strcmp(row[3], "1") == 0) ? true : false;
 
129
      table->replicate= strcmp(row[3], "1") == 0;
130
130
      table->autoIncrement= 0;
131
131
      table->database= this;
132
132
      if ((not table->populateFields()) or (not table->populateIndexes()))