1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP

Fixed a wrong assertion.
This commit is contained in:
Alexander Barkov
2013-12-17 15:19:26 +04:00
parent 39a8d7965d
commit dc407270a1
25 changed files with 727 additions and 2 deletions

View File

@ -2101,7 +2101,7 @@ my_strnxfrm_unicode(CHARSET_INFO *cs,
const uchar *se = src + srclen;
MY_UNICASE_INFO * const*uni_plane= (cs->state & MY_CS_BINSORT) ?
NULL : cs->caseinfo;
DBUG_ASSERT(src);
DBUG_ASSERT(!srclen || src);
while (dst < de_beg)
{
@ -2145,7 +2145,7 @@ my_strnxfrm_unicode_full_bin(CHARSET_INFO *cs,
const uchar *se = src + srclen;
LINT_INIT(wc);
DBUG_ASSERT(src);
DBUG_ASSERT(!srclen || src);
DBUG_ASSERT(cs->state & MY_CS_BINSORT);
while (dst < de_beg)