mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: rename Protocol::store() to Protocol::store_datetime()
to match the naming pattern of all other Protocol::store_xxx() methods
This commit is contained in:
@ -7522,7 +7522,7 @@ bool Type_handler::Item_send_timestamp(Item *item,
|
||||
if (native.is_null())
|
||||
return protocol->store_null();
|
||||
native.to_TIME(protocol->thd, &buf->value.m_time);
|
||||
return protocol->store(&buf->value.m_time, item->decimals);
|
||||
return protocol->store_datetime(&buf->value.m_time, item->decimals);
|
||||
}
|
||||
|
||||
|
||||
@ -7532,7 +7532,7 @@ bool Type_handler::
|
||||
item->get_date(protocol->thd, &buf->value.m_time,
|
||||
Datetime::Options(protocol->thd));
|
||||
if (!item->null_value)
|
||||
return protocol->store(&buf->value.m_time, item->decimals);
|
||||
return protocol->store_datetime(&buf->value.m_time, item->decimals);
|
||||
return protocol->store_null();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user