| 87 | } |
| 88 | |
| 89 | int cmp_lex_string_limit(const LEX_CSTRING &s, const LEX_CSTRING &t, |
| 90 | const CHARSET_INFO *cs, size_t chars_limit) |
| 91 | { |
| 92 | return cs->coll->strnncollsp(cs, (const uchar*)s.str, chars_limit, |
| 93 | (const uchar*)t.str, chars_limit); |
| 94 | } |
| 95 | |
| 96 | /* |
| 97 | This is a version of push_warning_printf() guaranteeing no escalation of |