mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
MDEV-23270 Remove a String parameter from Protocol::store(double/float)
This commit is contained in:
@ -7348,7 +7348,7 @@ bool Type_handler::
|
||||
{
|
||||
float nr= (float) item->val_real();
|
||||
if (!item->null_value)
|
||||
return protocol->store(nr, item->decimals, &buf->m_string);
|
||||
return protocol->store_float(nr, item->decimals);
|
||||
return protocol->store_null();
|
||||
}
|
||||
|
||||
@ -7358,7 +7358,7 @@ bool Type_handler::
|
||||
{
|
||||
double nr= item->val_real();
|
||||
if (!item->null_value)
|
||||
return protocol->store(nr, item->decimals, &buf->m_string);
|
||||
return protocol->store_double(nr, item->decimals);
|
||||
return protocol->store_null();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user