mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -7120,7 +7120,9 @@ int Field_string::cmp(const uchar *a_ptr, const uchar *b_ptr)
|
||||
|
||||
void Field_string::sort_string(uchar *to,uint length)
|
||||
{
|
||||
IF_DBUG(size_t tmp= ,)
|
||||
#ifdef DBUG_ASSERT_EXISTS
|
||||
size_t tmp=
|
||||
#endif
|
||||
field_charset->coll->strnxfrm(field_charset,
|
||||
to, length,
|
||||
char_length() *
|
||||
@ -7526,7 +7528,7 @@ void Field_varstring::sort_string(uchar *to,uint length)
|
||||
length-= length_bytes;
|
||||
}
|
||||
|
||||
#ifndef DBUG_OFF
|
||||
#ifdef DBUG_ASSERT_EXISTS
|
||||
size_t rc=
|
||||
#endif
|
||||
field_charset->coll->strnxfrm(field_charset, to, length,
|
||||
@ -8394,7 +8396,7 @@ void Field_blob::sort_string(uchar *to,uint length)
|
||||
store_bigendian(buf.length(), to + length, packlength);
|
||||
}
|
||||
|
||||
#ifndef DBUG_OFF
|
||||
#ifdef DBUG_ASSERT_EXISTS
|
||||
size_t rc=
|
||||
#endif
|
||||
field_charset->coll->strnxfrm(field_charset, to, length, length,
|
||||
|
Reference in New Issue
Block a user