~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/string.cc

  • Committer: lbieber
  • Date: 2010-10-07 02:59:11 UTC
  • mfrom: (1818.1.2 build)
  • Revision ID: lbieber@orisndriz08-20101007025911-rz1n8q23hrwxks6v
Merge Brian - Fix a large number of warning issues on ICC. sql_string becomes 64bit
Merge Monty - clean up ICC warnings

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 ||