1
0
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:
Sergei Golubchik
2020-09-28 10:51:18 +02:00
parent 59b51e6aa7
commit abc3889f1c
5 changed files with 14 additions and 14 deletions

View File

@ -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();
}