mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Post-merge fix: restore promotion to unsigned long long side-effect of bit_is_set.
This commit is contained in:
parent
a52a4bc16a
commit
bf4eb485c3
1 changed files with 6 additions and 4 deletions
|
@ -517,10 +517,12 @@ void show_sql_type(enum_field_types type, uint16 metadata, String *str, CHARSET_
|
|||
bool is_conversion_ok(int order, Relay_log_info *rli)
|
||||
{
|
||||
DBUG_ENTER("is_conversion_ok");
|
||||
bool allow_non_lossy=
|
||||
slave_type_conversions_options & SLAVE_TYPE_CONVERSIONS_ALL_NON_LOSSY;
|
||||
bool allow_lossy=
|
||||
slave_type_conversions_options & SLAVE_TYPE_CONVERSIONS_ALL_LOSSY;
|
||||
bool allow_non_lossy, allow_lossy;
|
||||
|
||||
allow_non_lossy = slave_type_conversions_options &
|
||||
(ULL(1) << SLAVE_TYPE_CONVERSIONS_ALL_NON_LOSSY);
|
||||
allow_lossy= slave_type_conversions_options &
|
||||
(ULL(1) << SLAVE_TYPE_CONVERSIONS_ALL_LOSSY);
|
||||
|
||||
DBUG_PRINT("enter", ("order: %d, flags:%s%s", order,
|
||||
allow_non_lossy ? " ALL_NON_LOSSY" : "",
|
||||
|
|
Loading…
Add table
Reference in a new issue