summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/tztime.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/tztime.cc b/sql/tztime.cc
index 60c5e8efd71..9af33526c98 100644
--- a/sql/tztime.cc
+++ b/sql/tztime.cc
@@ -890,7 +890,7 @@ TIME_to_gmt_sec(const TIME *t, const TIME_ZONE_INFO *sp, bool *in_dst_time_gap)
DBUG_ENTER("TIME_to_gmt_sec");
if (!validate_timestamp_range(t))
- return 0;
+ DBUG_RETURN(0);
/* We need this for correct leap seconds handling */