1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fixing compilation failure on Windows (cannot compare "bool" and "my_bool" directly, cast needed)

This commit is contained in:
Alexander Barkov
2018-08-10 06:22:13 +04:00
parent d2bba4ce25
commit 522cd3c7aa

View File

@@ -2197,7 +2197,7 @@ protected:
{ {
my_bool tmp_null_value; my_bool tmp_null_value;
m_ptr= udf->val_decimal(&tmp_null_value, &m_buffer); 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(); func->null_value= is_null();
} }
}; };