summaryrefslogtreecommitdiff
path: root/mysql-test/main
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2018-07-30 20:40:48 +0400
committerAlexander Barkov <bar@mariadb.com>2018-07-30 20:40:48 +0400
commit28ff7e89c6f68cbf0c413f828ac31b5200443bc7 (patch)
tree3f0e97555af2e13bc3303070cf47d193151b6299 /mysql-test/main
parentaee3d162d236412bd1b8146f62dca299ccd71017 (diff)
downloadmariadb-git-28ff7e89c6f68cbf0c413f828ac31b5200443bc7.tar.gz
MDEV-16852 Get rid of Item_temporal_hybrid_func::fix_temporal_type()
- Implementing the task according to the MDEV description. - Adding a helper class Sec6_add to share the code in type-specific branches in Item_func_add_time::get_date().
Diffstat (limited to 'mysql-test/main')
-rw-r--r--mysql-test/main/func_time.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/main/func_time.result b/mysql-test/main/func_time.result
index babcaf0640e..f55e0e47eea 100644
--- a/mysql-test/main/func_time.result
+++ b/mysql-test/main/func_time.result
@@ -1230,7 +1230,7 @@ str_to_date("1997-00-04 22:23:00","%Y-%m-%D") + interval 10 minute
NULL
Warnings:
Warning 1292 Truncated incorrect date value: '1997-00-04 22:23:00'
-Warning 1292 Incorrect datetime value: '1997-00-04'
+Warning 1292 Incorrect datetime value: '1997-00-04 00:00:00'
create table t1 (field DATE);
insert into t1 values ('2006-11-06');
select * from t1 where field < '2006-11-06 04:08:36.0';