Commit bf4eb485 authored by Davi Arnaut's avatar Davi Arnaut

Post-merge fix: restore promotion to unsigned long long side-effect of bit_is_set.

parent a52a4bc1
...@@ -517,10 +517,12 @@ void show_sql_type(enum_field_types type, uint16 metadata, String *str, CHARSET_ ...@@ -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) bool is_conversion_ok(int order, Relay_log_info *rli)
{ {
DBUG_ENTER("is_conversion_ok"); DBUG_ENTER("is_conversion_ok");
bool allow_non_lossy= bool allow_non_lossy, allow_lossy;
slave_type_conversions_options & SLAVE_TYPE_CONVERSIONS_ALL_NON_LOSSY;
bool allow_lossy= allow_non_lossy = slave_type_conversions_options &
slave_type_conversions_options & SLAVE_TYPE_CONVERSIONS_ALL_LOSSY; (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, DBUG_PRINT("enter", ("order: %d, flags:%s%s", order,
allow_non_lossy ? " ALL_NON_LOSSY" : "", allow_non_lossy ? " ALL_NON_LOSSY" : "",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment