~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/string.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:
95
95
  return 0;
96
96
}
97
97
 
98
 
void Item_string::print(String *str, enum_query_type query_type)
 
98
void Item_string::print(String *str)
99
99
{
100
 
  if (query_type == QT_ORDINARY && is_cs_specified())
 
100
  if (is_cs_specified())
101
101
  {
102
102
    str->append('_');
103
103
    str->append(collation.collation->csname);