~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item_cmpfunc.cc

  • Committer: Brian Aker
  • Date: 2008-07-22 18:31:32 UTC
  • Revision ID: brian@tangent.org-20080722183132-ne2ntl7g7mdf2eez
uint32 -> uin32_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
4464
4464
          Convert to "cs" if charset of escape differs.
4465
4465
        */
4466
4466
        CHARSET_INFO *cs= cmp.cmp_collation.collation;
4467
 
        uint32 unused;
 
4467
        uint32_t unused;
4468
4468
        if (escape_str->needs_conversion(escape_str->length(),
4469
4469
                                         escape_str->charset(), cs, &unused))
4470
4470
        {
4471
4471
          char ch;
4472
4472
          uint errors;
4473
 
          uint32 cnvlen= copy_and_convert(&ch, 1, cs, escape_str->ptr(),
 
4473
          uint32_t cnvlen= copy_and_convert(&ch, 1, cs, escape_str->ptr(),
4474
4474
                                          escape_str->length(),
4475
4475
                                          escape_str->charset(), &errors);
4476
4476
          escape= cnvlen ? ch : '\\';