mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
fix comment in my_decimal_set_zero()
which says: We need the up-cast here, since my_decimal has sign() member functions, which conflicts with decimal_t::size But decimal_t does not provide `size` field.
This commit is contained in:
committed by
Sergey Vojtovich
parent
990289a78f
commit
8ab37bbd69
@ -288,7 +288,7 @@ int my_decimal_set_zero(my_decimal *d)
|
|||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
We need the up-cast here, since my_decimal has sign() member functions,
|
We need the up-cast here, since my_decimal has sign() member functions,
|
||||||
which conflicts with decimal_t::size
|
which conflicts with decimal_t::sign
|
||||||
(and decimal_make_zero is a macro, rather than a funcion).
|
(and decimal_make_zero is a macro, rather than a funcion).
|
||||||
*/
|
*/
|
||||||
decimal_make_zero(static_cast<decimal_t*>(d));
|
decimal_make_zero(static_cast<decimal_t*>(d));
|
||||||
|
Reference in New Issue
Block a user