~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 13:51:13 UTC
  • mto: This revision was merged to the branch mainline in revision 2447.
  • Revision ID: olafvdspek@gmail.com-20111024135113-7wz4cjv432m4w0hn
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
1164
1164
        const charset_info_st * const character_set_client= default_charset_info;
1165
1165
 
1166
1166
        bool check_second_byte= (res_charset == &my_charset_bin) &&
1167
 
          character_set_client->
1168
 
          escape_with_backslash_is_dangerous;
 
1167
          character_set_client->escape_with_backslash_is_dangerous;
1169
1168
        assert(character_set_client->mbmaxlen == 2 ||
1170
1169
               !character_set_client->escape_with_backslash_is_dangerous);
1171
1170
        for (start=pos=(char*) res->ptr(),end=pos+used_length ;