~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/show.cc

  • Committer: Brian Aker
  • Date: 2010-10-06 18:16:00 UTC
  • mto: (1818.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1819.
  • Revision ID: brian@tangent.org-20101006181600-q7zuzw31zlq030ra
Convert sql_string to use size_t (this should clean up ICC warnings).

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
    field_list.push_back(new Item_empty_string("Table",NAME_CHAR_LEN));
150
150
    // 1024 is for not to confuse old clients
151
151
    field_list.push_back(new Item_empty_string("Create Table",
152
 
                                               max(buffer.length(),(uint32_t)1024)));
 
152
                                               max(buffer.length(),(size_t)1024)));
153
153
  }
154
154
 
155
155
  if (session->client->sendFields(&field_list))