~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/ref_null_helper.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:
75
75
  return (owner->was_null|= null_value= (*ref)->get_date(ltime, fuzzydate));
76
76
}
77
77
 
78
 
void Item_ref_null_helper::print(String *str, enum_query_type query_type)
 
78
void Item_ref_null_helper::print(String *str)
79
79
{
80
80
  str->append(STRING_WITH_LEN("<ref_null_helper>("));
81
81
  if (ref)
82
 
    (*ref)->print(str, query_type);
 
82
    (*ref)->print(str);
83
83
  else
84
84
    str->append('?');
85
85
  str->append(')');