~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/string.cc

  • Committer: lbieber
  • Date: 2010-10-07 00:54:40 UTC
  • mfrom: (1816.3.1 refactor)
  • mto: This revision was merged to the branch mainline in revision 1819.
  • Revision ID: lbieber@orisndriz08-20101007005440-ud5u6wsraqlev4h0
Merge Brian - Fix a large number of warning issues on ICC. sql_string becomes 64bit

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
Item *Item_string::safe_charset_converter(const CHARSET_INFO * const tocs)
30
30
{
31
31
  Item_string *conv;
32
 
  uint32_t conv_errors;
 
32
  size_t conv_errors;
33
33
  char *ptr;
34
34
  String tmp, cstr, *ostr= val_str(&tmp);
35
35
  cstr.copy(ostr->ptr(), ostr->length(), ostr->charset(), tocs, &conv_errors);
57
57
Item *Item_static_string_func::safe_charset_converter(const CHARSET_INFO * const tocs)
58
58
{
59
59
  Item_string *conv;
60
 
  uint32_t conv_errors;
 
60
  size_t conv_errors;
61
61
  String tmp, cstr, *ostr= val_str(&tmp);
62
62
  cstr.copy(ostr->ptr(), ostr->length(), ostr->charset(), tocs, &conv_errors);
63
63
  if (conv_errors ||