diff options
author | Sergei Golubchik <serg@mariadb.org> | 2020-09-28 10:51:18 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-06-11 13:02:55 +0200 |
commit | abc3889f1cf0514615007e44cef6672ed8813ff6 (patch) | |
tree | 6b60ad764eebf2239cab785e1d9a23595e1e6a9f /sql/protocol.cc | |
parent | 59b51e6aa7d0b91e4c5678a116e9ba695238853c (diff) | |
download | mariadb-git-abc3889f1cf0514615007e44cef6672ed8813ff6.tar.gz |
cleanup: rename Protocol::store() to Protocol::store_datetime()
to match the naming pattern of all other Protocol::store_xxx() methods
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r-- | sql/protocol.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc index 70b526b581f..c0a5f2327a0 100644 --- a/sql/protocol.cc +++ b/sql/protocol.cc @@ -1589,7 +1589,7 @@ bool Protocol_text::store(Field *field) } -bool Protocol_text::store(MYSQL_TIME *tm, int decimals) +bool Protocol_text::store_datetime(MYSQL_TIME *tm, int decimals) { #ifndef DBUG_OFF DBUG_ASSERT(valid_handler(field_pos, PROTOCOL_SEND_DATETIME)); @@ -1807,7 +1807,7 @@ bool Protocol_binary::store(Field *field) } -bool Protocol_binary::store(MYSQL_TIME *tm, int decimals) +bool Protocol_binary::store_datetime(MYSQL_TIME *tm, int decimals) { char buff[12],*pos; uint length; @@ -1841,7 +1841,7 @@ bool Protocol_binary::store_date(MYSQL_TIME *tm) { tm->hour= tm->minute= tm->second=0; tm->second_part= 0; - return Protocol_binary::store(tm, 0); + return Protocol_binary::store_datetime(tm, 0); } |