~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/create.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-14 10:07:18 UTC
  • mto: This revision was merged to the branch mainline in revision 2438.
  • Revision ID: olafvdspek@gmail.com-20111014100718-n1i5vtysh1gajn70
Use assign(), data() and size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1038
1038
 
1039
1039
Item* Create_udf_func::create(Session *session, lex_string_t name, List<Item> *item_list)
1040
1040
{
1041
 
  return create(session, plugin::Function::get(std::string(name.data(), name.size())), item_list);
 
1041
  return create(session, plugin::Function::get(to_string(name)), item_list);
1042
1042
}
1043
1043
 
1044
1044
Item* Create_udf_func::create(Session *session, const plugin::Function *udf, List<Item> *item_list)