From 6607b50754b35747f43b09355ee6c372c67c7503 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 10 Sep 2004 22:19:52 +0300 Subject: [PATCH] Put Ramil patch to be able push me code (test suite already is included in query_cache.test) --- strings/ctype-simple.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c index 84bfcb0b171..58535cbfc69 100644 --- a/strings/ctype-simple.c +++ b/strings/ctype-simple.c @@ -27,8 +27,7 @@ int my_strnxfrm_simple(CHARSET_INFO * cs, const uchar *src, uint srclen) { uchar *map= cs->sort_order; - DBUG_ASSERT(len >= srclen); - len= min(len,srclen); + set_if_smaller(len, srclen); if (dest != src) { const uchar *end;