summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/tztime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc
index 15cd862f4b9..bd8e43075c4 100644
--- a/sql/tztime.cc
+++ b/sql/tztime.cc
@@ -891,7 +891,7 @@ TIME_to_gmt_sec(const TIME *t, const TIME_ZONE_INFO *sp,
DBUG_ENTER("TIME_to_gmt_sec");
if (!validate_timestamp_range(t))
- return 0;
+ DBUG_RETURN(0);
/* We need this for correct leap seconds handling */