~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/cache.cc

  • Committer: Stewart Smith
  • Date: 2011-03-03 08:29:06 UTC
  • mto: (2216.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2217.
  • Revision ID: stewart@flamingspork.com-20110303082906-5zhmxub1j7au038u
remove enum_query_type which was effectively unused. It was set to one value once, compared to it once (i.e. always true) and passed around everywhere doing nothing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
}
56
56
 
57
57
 
58
 
void Item_cache::print(String *str, enum_query_type query_type)
 
58
void Item_cache::print(String *str)
59
59
{
60
60
  str->append(STRING_WITH_LEN("<cache>("));
61
61
  if (example)
62
 
    example->print(str, query_type);
 
62
    example->print(str);
63
63
  else
64
 
    Item::print(str, query_type);
 
64
    Item::print(str);
65
65
  str->append(')');
66
66
}
67
67