There was an error while loading. Please reload this page.
1 parent d67dcb7 commit b4db96dCopy full SHA for b4db96d
sql/compat56.cc
@@ -47,7 +47,7 @@ longlong TIME_to_longlong_time_packed(const MYSQL_TIME *ltime)
47
{
48
DBUG_ASSERT(ltime->year == 0);
49
DBUG_ASSERT(ltime->month == 0);
50
- // Mix days with hours: "1 00:10:10" -> "24:00:10"
+ // Mix days with hours: "1 00:10:10" -> "24:10:10"
51
long hms= ((ltime->day * 24 + ltime->hour) << 12) |
52
(ltime->minute << 6) | ltime->second;
53
longlong tmp= MY_PACKED_TIME_MAKE(hms, ltime->second_part);
0 commit comments