~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_dumpvar.cc

Use List::size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
{
77
77
  unit= u;
78
78
 
79
 
  if (var_list.size() != list.elements)
 
79
  if (var_list.size() != list.size())
80
80
  {
81
81
    my_message(ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT,
82
82
               ER(ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT), MYF(0));