~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzledump_mysql.cc

  • Committer: lbieber
  • Date: 2010-10-01 13:06:31 UTC
  • mfrom: (1802.2.2 drizzle-bug-651948)
  • mto: This revision was merged to the branch mainline in revision 1805.
  • Revision ID: lbieber@orisndriz08-20101001130631-xubscnhmj7r5dn6g
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
    }