~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-14 09:23:40 UTC
  • mto: This revision was merged to the branch mainline in revision 2438.
  • Revision ID: olafvdspek@gmail.com-20111014092340-phpah1o0umps7e63
Use size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
930
930
      return -1;
931
931
    }
932
932
 
933
 
    key_info->comment.length= key->key_create_info.comment.size();
 
933
    key_info->comment.assign(key_info->comment.data(), key->key_create_info.comment.size());
934
934
    if (key_info->comment.size() > 0)
935
935
    {
936
936
      key_info->flags|= HA_USES_COMMENT;