~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/trim.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:
220
220
  }
221
221
}
222
222
 
223
 
void Item_func_trim::print(String *str, enum_query_type query_type)
 
223
void Item_func_trim::print(String *str)
224
224
{
225
225
  if (arg_count == 1)
226
226
  {
227
 
    Item_func::print(str, query_type);
 
227
    Item_func::print(str);
228
228
    return;
229
229
  }
230
230
  str->append(Item_func_trim::func_name());
231
231
  str->append('(');
232
232
  str->append(mode_name());
233
233
  str->append(' ');
234
 
  args[1]->print(str, query_type);
 
234
  args[1]->print(str);
235
235
  str->append(STRING_WITH_LEN(" from "));
236
 
  args[0]->print(str, query_type);
 
236
  args[0]->print(str);
237
237
  str->append(')');
238
238
}
239
239