diff options
author | Eugene Kosov <claprix@yandex.ru> | 2017-08-18 14:29:22 +0300 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2017-08-18 14:29:22 +0300 |
commit | 99baeaa951e0086e1d700c6bc6e0e153ba80c29f (patch) | |
tree | 462feabe64bf1325eeee6f501f2f2fbd0eddb833 /sql/item_vers.cc | |
parent | 9714c4463d5867c1bd5d03086df1949f8657dfa4 (diff) | |
download | mariadb-git-99baeaa951e0086e1d700c6bc6e0e153ba80c29f.tar.gz |
SQL: MAX microseconds for current system rows [fixes #245]
Diffstat (limited to 'sql/item_vers.cc')
-rw-r--r-- | sql/item_vers.cc | 1 |
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; } |