Commit c6634707 authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

Put Ramil patch to be able push me code (test suite already is included in query_cache.test)

parent 796b6254
...@@ -27,8 +27,7 @@ int my_strnxfrm_simple(CHARSET_INFO * cs, ...@@ -27,8 +27,7 @@ int my_strnxfrm_simple(CHARSET_INFO * cs,
const uchar *src, uint srclen) const uchar *src, uint srclen)
{ {
uchar *map= cs->sort_order; uchar *map= cs->sort_order;
DBUG_ASSERT(len >= srclen); set_if_smaller(len, srclen);
len= min(len,srclen);
if (dest != src) if (dest != src)
{ {
const uchar *end; const uchar *end;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment