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:
@@ -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();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user