mirror of
https://github.com/MariaDB/server.git
synced 2026-04-19 06:45:32 +02: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:
parent
990289a78f
commit
8ab37bbd69
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
which conflicts with decimal_t::size
|
||||
which conflicts with decimal_t::sign
|
||||
(and decimal_make_zero is a macro, rather than a funcion).
|
||||
*/
|
||||
decimal_make_zero(static_cast<decimal_t*>(d));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue