Skip to content

Commit

Permalink
Fixing compilation failure on Windows (cannot compare "bool" and "my_…
Browse files Browse the repository at this point in the history
…bool" directly, cast needed)
  • Loading branch information
abarkov committed Aug 10, 2018
1 parent d2bba4c commit 522cd3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/item_func.h
Expand Up @@ -2197,7 +2197,7 @@ class Item_udf_func :public Item_func
{
my_bool tmp_null_value;
m_ptr= udf->val_decimal(&tmp_null_value, &m_buffer);
DBUG_ASSERT(is_null() == tmp_null_value);
DBUG_ASSERT(is_null() == (tmp_null_value != 0));
func->null_value= is_null();
}
};
Expand Down

0 comments on commit 522cd3c

Please sign in to comment.