diff options
author | Alexander Barkov <bar@mariadb.org> | 2018-02-05 13:22:58 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2018-02-05 13:22:58 +0400 |
commit | b4db96da5848e41bd15eafbecffaac71c465d1b6 (patch) | |
tree | 12e01bde2964e23d09337531dac2cdace6e97880 /sql/compat56.cc | |
parent | d67dcb7bb5f8058a1c6c2f44b8b31faeefdca94b (diff) | |
download | mariadb-git-b4db96da5848e41bd15eafbecffaac71c465d1b6.tar.gz |
MDEV-15176: comment fix "1 00:10:10" -> "24:10:10"
Applying https://github.com/MariaDB/server/pull/594
to bb-10.2-ext
Diffstat (limited to 'sql/compat56.cc')
-rw-r--r-- | sql/compat56.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/compat56.cc b/sql/compat56.cc index be54a8760aa..16701b1c4e7 100644 --- a/sql/compat56.cc +++ b/sql/compat56.cc @@ -47,7 +47,7 @@ longlong TIME_to_longlong_time_packed(const MYSQL_TIME *ltime) { DBUG_ASSERT(ltime->year == 0); DBUG_ASSERT(ltime->month == 0); - // Mix days with hours: "1 00:10:10" -> "24:00:10" + // Mix days with hours: "1 00:10:10" -> "24:10:10" long hms= ((ltime->day * 24 + ltime->hour) << 12) | (ltime->minute << 6) | ltime->second; longlong tmp= MY_PACKED_TIME_MAKE(hms, ltime->second_part); |