~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/user_var_as_out_param.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-06 18:18:31 UTC
  • mto: This revision was merged to the branch mainline in revision 2433.
  • Revision ID: olafvdspek@gmail.com-20111006181831-1ix5b80ry7iifbjf
Use lex_string assign(), data() and size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
#include <drizzled/user_var_entry.h>
26
26
#include <drizzled/session.h>
27
27
 
28
 
namespace drizzled
29
 
{
 
28
namespace drizzled {
30
29
 
31
30
bool Item_user_var_as_out_param::fix_fields(Session *session, Item **ref)
32
31
{
85
84
  return 0;
86
85
}
87
86
 
88
 
 
89
87
void Item_user_var_as_out_param::print(String *str)
90
88
{
91
89
  str->append('@');
92
 
  str->append(name.str,name.length);
 
90
  str->append(name);
93
91
}
94
92
 
95
93
} /* namespace drizzled */