diff --git a/sql/compat56.cc b/sql/compat56.cc
index be54a8760aab8699c0a6af919af6ca7476a19e5f..16701b1c4e777973e480631b784aef23955cf51d 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);