summaryrefslogtreecommitdiff
path: root/sql/item_vers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_vers.cc')
-rw-r--r--sql/item_vers.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_vers.cc b/sql/item_vers.cc
index 47e62d9ebf0..cbeb72810f3 100644
--- a/sql/item_vers.cc
+++ b/sql/item_vers.cc
@@ -67,6 +67,7 @@ Item_func_vtq_ts::get_date(MYSQL_TIME *res, ulonglong fuzzy_date)
{
null_value= false;
thd->variables.time_zone->gmt_sec_to_TIME(res, TIMESTAMP_MAX_VALUE);
+ res->second_part= TIME_MAX_SECOND_PART;
return false;
}