Commit 6607b507 authored by unknown's avatar unknown

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

parent 9d80a396
...@@ -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