~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_mysql.cc

  • Committer: lbieber
  • Date: 2010-10-01 16:29:19 UTC
  • mfrom: (1804.1.1 build)
  • Revision ID: lbieber@orisndriz08-20101001162919-ecqsatl39e2sgt4l
Merge Andrew - Fix bug 651948 - Index lengths not retrieved using drizzledump

Show diffs side-by-side

added added

removed removed

Lines of Context:
264
264
      index->isPrimary= (strcmp(row[2], "PRIMARY") == 0);
265
265
      index->isUnique= (strcmp(row[1], "0") == 0);
266
266
      index->isHash= (strcmp(row[10], "HASH") == 0);
 
267
      index->length= (row[7]) ? boost::lexical_cast<uint32_t>(row[7]) : 0;
267
268
      lastKey= row[2];
268
269
      firstIndex= false;
269
270
    }