mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-26669 Add MY_COLLATION_HANDLER functions min_str() and max_str()
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "strings_def.h"
|
||||
#include <m_ctype.h>
|
||||
#include "ctype-mb.h"
|
||||
|
||||
#ifndef EILSEQ
|
||||
#define EILSEQ ENOENT
|
||||
@@ -5366,7 +5367,9 @@ static MY_COLLATION_HANDLER my_collation_utf8mb3_general_ci_handler =
|
||||
my_strcasecmp_utf8mb3,
|
||||
my_instr_mb,
|
||||
my_hash_sort_utf8mb3,
|
||||
my_propagate_complex
|
||||
my_propagate_complex,
|
||||
my_min_str_mb_simple,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
|
||||
@@ -5382,7 +5385,9 @@ static MY_COLLATION_HANDLER my_collation_utf8mb3_general_mysql500_ci_handler =
|
||||
my_strcasecmp_utf8mb3,
|
||||
my_instr_mb,
|
||||
my_hash_sort_utf8mb3,
|
||||
my_propagate_complex
|
||||
my_propagate_complex,
|
||||
my_min_str_mb_simple,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
|
||||
@@ -5398,7 +5403,9 @@ static MY_COLLATION_HANDLER my_collation_utf8mb3_bin_handler =
|
||||
my_strcasecmp_mb_bin,
|
||||
my_instr_mb,
|
||||
my_hash_sort_mb_bin,
|
||||
my_propagate_simple
|
||||
my_propagate_simple,
|
||||
my_min_str_mb_simple,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
|
||||
@@ -5414,7 +5421,9 @@ static MY_COLLATION_HANDLER my_collation_utf8mb3_general_nopad_ci_handler =
|
||||
my_strcasecmp_utf8mb3,
|
||||
my_instr_mb,
|
||||
my_hash_sort_utf8mb3_nopad,
|
||||
my_propagate_complex
|
||||
my_propagate_complex,
|
||||
my_min_str_mb_simple_nopad,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
|
||||
@@ -5430,7 +5439,9 @@ static MY_COLLATION_HANDLER my_collation_utf8mb3_nopad_bin_handler =
|
||||
my_strcasecmp_mb_bin,
|
||||
my_instr_mb,
|
||||
my_hash_sort_mb_nopad_bin,
|
||||
my_propagate_simple
|
||||
my_propagate_simple,
|
||||
my_min_str_mb_simple_nopad,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
|
||||
@@ -5760,7 +5771,9 @@ static MY_COLLATION_HANDLER my_collation_cs_handler =
|
||||
my_strcasecmp_utf8mb3,
|
||||
my_instr_mb,
|
||||
my_hash_sort_utf8mb3,
|
||||
my_propagate_simple
|
||||
my_propagate_simple,
|
||||
my_min_str_mb_simple,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
struct charset_info_st my_charset_utf8mb3_general_cs=
|
||||
@@ -7078,7 +7091,9 @@ static MY_COLLATION_HANDLER my_collation_filename_handler =
|
||||
my_strcasecmp_utf8mb3,
|
||||
my_instr_mb,
|
||||
my_hash_sort_utf8mb3,
|
||||
my_propagate_complex
|
||||
my_propagate_complex,
|
||||
my_min_str_mb_simple,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
static MY_CHARSET_HANDLER my_charset_filename_handler=
|
||||
@@ -7718,7 +7733,9 @@ static MY_COLLATION_HANDLER my_collation_utf8mb4_general_ci_handler=
|
||||
my_strcasecmp_utf8mb4,
|
||||
my_instr_mb,
|
||||
my_hash_sort_utf8mb4,
|
||||
my_propagate_complex
|
||||
my_propagate_complex,
|
||||
my_min_str_mb_simple,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
|
||||
@@ -7734,7 +7751,9 @@ static MY_COLLATION_HANDLER my_collation_utf8mb4_bin_handler =
|
||||
my_strcasecmp_mb_bin,
|
||||
my_instr_mb,
|
||||
my_hash_sort_mb_bin,
|
||||
my_propagate_simple
|
||||
my_propagate_simple,
|
||||
my_min_str_mb_simple,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
|
||||
@@ -7750,7 +7769,9 @@ static MY_COLLATION_HANDLER my_collation_utf8mb4_general_nopad_ci_handler=
|
||||
my_strcasecmp_utf8mb4,
|
||||
my_instr_mb,
|
||||
my_hash_sort_utf8mb4_nopad,
|
||||
my_propagate_complex
|
||||
my_propagate_complex,
|
||||
my_min_str_mb_simple_nopad,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
|
||||
@@ -7766,7 +7787,9 @@ static MY_COLLATION_HANDLER my_collation_utf8mb4_nopad_bin_handler =
|
||||
my_strcasecmp_mb_bin,
|
||||
my_instr_mb,
|
||||
my_hash_sort_mb_nopad_bin,
|
||||
my_propagate_simple
|
||||
my_propagate_simple,
|
||||
my_min_str_mb_simple_nopad,
|
||||
my_max_str_mb_simple
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user