~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/locate.cc

  • Committer: Lee Bieber
  • Date: 2011-03-03 19:19:28 UTC
  • mfrom: (2216.1.3 build)
  • Revision ID: kalebral@gmail.com-20110303191928-h2kris5kavbgmzu0
Merge Shrews - 728432: Remove write_bin_log() since it is no longer used.
Merge Andrew - 722988: wrong message for drizzled --verbose 
Merge Andrew - 728314: mysql socket file not created
Merge Stewart - 728288: enum_query_type is unused

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
}
75
75
 
76
76
 
77
 
void Item_func_locate::print(String *str, enum_query_type query_type)
 
77
void Item_func_locate::print(String *str)
78
78
{
79
79
  str->append(STRING_WITH_LEN("locate("));
80
 
  args[1]->print(str, query_type);
 
80
  args[1]->print(str);
81
81
  str->append(',');
82
 
  args[0]->print(str, query_type);
 
82
  args[0]->print(str);
83
83
  if (arg_count == 3)
84
84
  {
85
85
    str->append(',');
86
 
    args[2]->print(str, query_type);
 
86
    args[2]->print(str);
87
87
  }
88
88
  str->append(')');
89
89
}