~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/cast/boolean.cc

  • Committer: Andrew Hutchings
  • Date: 2011-03-29 20:45:43 UTC
  • mfrom: (2257 drizzle)
  • mto: (2257.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: andrew@linuxjedi.co.uk-20110329204543-ssex0nuo8knncgwx
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
 
79
79
String *Boolean::evaluate(const bool &result, String *val_buffer)
80
80
{
81
 
  const CHARSET_INFO * const cs= &my_charset_bin;
 
81
  const charset_info_st * const cs= &my_charset_bin;
82
82
  uint32_t mlength= (5) * cs->mbmaxlen;
83
83
 
84
84
  val_buffer->alloc(mlength);