~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_drizzle.cc

  • Committer: Olaf van der Spek
  • Date: 2011-08-08 09:51:16 UTC
  • mto: This revision was merged to the branch mainline in revision 2396.
  • Revision ID: olafvdspek@gmail.com-20110808095116-hnodu1sdn0vezgfn
cppcheck

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()))