mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.4' into 10.5
This commit is contained in:
@@ -208,6 +208,18 @@ int my_strnncollsp_simple(CHARSET_INFO * cs, const uchar *a, size_t a_length,
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
my_strnncollsp_nchars_simple(CHARSET_INFO * cs,
|
||||
const uchar *a, size_t a_length,
|
||||
const uchar *b, size_t b_length,
|
||||
size_t nchars)
|
||||
{
|
||||
set_if_smaller(a_length, nchars);
|
||||
set_if_smaller(b_length, nchars);
|
||||
return my_strnncollsp_simple(cs, a, a_length, b, b_length);
|
||||
}
|
||||
|
||||
|
||||
int my_strnncollsp_simple_nopad(CHARSET_INFO * cs,
|
||||
const uchar *a, size_t a_length,
|
||||
const uchar *b, size_t b_length)
|
||||
@@ -2097,6 +2109,7 @@ MY_COLLATION_HANDLER my_collation_8bit_simple_ci_handler =
|
||||
my_coll_init_simple, /* init */
|
||||
my_strnncoll_simple,
|
||||
my_strnncollsp_simple,
|
||||
my_strnncollsp_nchars_simple,
|
||||
my_strnxfrm_simple,
|
||||
my_strnxfrmlen_simple,
|
||||
my_like_range_simple,
|
||||
@@ -2113,6 +2126,7 @@ MY_COLLATION_HANDLER my_collation_8bit_simple_nopad_ci_handler =
|
||||
my_coll_init_simple, /* init */
|
||||
my_strnncoll_simple,
|
||||
my_strnncollsp_simple_nopad,
|
||||
my_strnncollsp_nchars_simple,
|
||||
my_strnxfrm_simple_nopad,
|
||||
my_strnxfrmlen_simple,
|
||||
my_like_range_simple,
|
||||
|
Reference in New Issue
Block a user