mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.5 into 10.6
This commit is contained in:
@@ -1975,8 +1975,10 @@ bool quick_rm_table(THD *thd, handlerton *base, const LEX_CSTRING *db,
|
||||
PRIMARY keys are prioritized.
|
||||
*/
|
||||
|
||||
static int sort_keys(KEY *a, KEY *b)
|
||||
static int sort_keys(const void *a_, const void *b_)
|
||||
{
|
||||
const KEY *a= static_cast<const KEY *>(a_);
|
||||
const KEY *b= static_cast<const KEY *>(b_);
|
||||
ulong a_flags= a->flags, b_flags= b->flags;
|
||||
|
||||
/*
|
||||
@@ -6318,8 +6320,10 @@ static bool fix_constraints_names(THD *thd, List<Virtual_column_info>
|
||||
}
|
||||
|
||||
|
||||
static int compare_uint(const uint *s, const uint *t)
|
||||
static int compare_uint(const void *s_, const void *t_)
|
||||
{
|
||||
const uint *s= static_cast<const uint *>(s_);
|
||||
const uint *t= static_cast<const uint *>(t_);
|
||||
return (*s < *t) ? -1 : ((*s > *t) ? 1 : 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user