~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_data.cc

  • Committer: Andrew Hutchings
  • Date: 2010-10-26 23:46:28 UTC
  • mto: (1883.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1884.
  • Revision ID: andrew@linuxjedi.co.uk-20101026234628-ofhbcl1b2kl981og
Add quoting to the end of the table definition
Fix spelling error

Show diffs side-by-side

added added

removed removed

Lines of Context:
473
473
  }
474
474
 
475
475
  os << std::endl;
476
 
  os << ") ENGINE=" << obj.engineName << " ";
 
476
  os << ") ENGINE='" << obj.engineName << "' ";
477
477
  if (obj.autoIncrement > 0)
478
478
  {
479
479
    os << "AUTO_INCREMENT=" << obj.autoIncrement << " ";
480
480
  }
481
481
 
482
 
  os << "COLLATE = " << obj.collate;
 
482
  os << "COLLATE='" << obj.collate << "'";
483
483
 
484
484
  if (not obj.comment.empty())
485
485
  {
486
 
    os << " COMMENT = '" << obj.comment << "'";
 
486
    os << " COMMENT='" << obj.comment << "'";
487
487
  }
488
488
 
489
489
  os << ";" << std::endl << std::endl;