~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_drizzle.cc

  • Committer: Mark Atwood
  • Date: 2011-08-01 05:22:14 UTC
  • mfrom: (1919.3.53 drizzle_pbms)
  • Revision ID: me@mark.atwood.name-20110801052214-3wdsx3xgld6b5v4f
mergeĀ lp:~barry-leslie/drizzle/drizzle_pbms

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;
 
71
    table->replicate= (strcmp(row[5], "1") == 0) ? true : false;
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;
 
129
      table->replicate= (strcmp(row[3], "1") == 0) ? true : false;
130
130
      table->autoIncrement= 0;
131
131
      table->database= this;
132
132
      if ((not table->populateFields()) or (not table->populateIndexes()))