Skip to content

Commit b4db96d

Browse files
author
Alexander Barkov
committed
MDEV-15176: comment fix "1 00:10:10" -> "24:10:10"
Applying #594 to bb-10.2-ext
1 parent d67dcb7 commit b4db96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/compat56.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ longlong TIME_to_longlong_time_packed(const MYSQL_TIME *ltime)
4747
{
4848
DBUG_ASSERT(ltime->year == 0);
4949
DBUG_ASSERT(ltime->month == 0);
50-
// Mix days with hours: "1 00:10:10" -> "24:00:10"
50+
// Mix days with hours: "1 00:10:10" -> "24:10:10"
5151
long hms= ((ltime->day * 24 + ltime->hour) << 12) |
5252
(ltime->minute << 6) | ltime->second;
5353
longlong tmp= MY_PACKED_TIME_MAKE(hms, ltime->second_part);

0 commit comments

Comments
 (0)