~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Lee Bieber
  • Date: 2011-02-23 23:22:48 UTC
  • mfrom: (2183.2.20 list2)
  • mto: This revision was merged to the branch mainline in revision 2197.
  • Revision ID: kalebral@gmail.com-20110223232248-ev4y8pyt16b806o0
Merge Olaf - Use List::size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
  TYPELIB *result= (TYPELIB*) mem_root->alloc_root(sizeof(TYPELIB));
215
215
  if (!result)
216
216
    return 0;
217
 
  result->count= strings.elements;
 
217
  result->count= strings.size();
218
218
  result->name= "";
219
219
  uint32_t nbytes= (sizeof(char*) + sizeof(uint32_t)) * (result->count + 1);
220
220