~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/cast/boolean.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:
29
29
namespace function {
30
30
namespace cast {
31
31
 
32
 
void Boolean::print(String *str, enum_query_type query_type)
 
32
void Boolean::print(String *str)
33
33
{
34
34
  str->append(STRING_WITH_LEN("cast("));
35
 
  args[0]->print(str, query_type);
 
35
  args[0]->print(str);
36
36
  str->append(STRING_WITH_LEN(" as boolean)"));
37
37
}
38
38