diff options
author | Evgeny Potemkin <epotemkin@mysql.com> | 2010-08-02 16:36:41 +0400 |
---|---|---|
committer | Evgeny Potemkin <epotemkin@mysql.com> | 2010-08-02 16:36:41 +0400 |
commit | 424b68d7cad2434f7432c5f2e83fd1e903afedc8 (patch) | |
tree | fb63b192ee76712bb5660bbd3b2d8ee3914049e9 /mysql-test/t | |
parent | 361022c60c4bee43358811358b102041aac787b2 (diff) | |
download | mariadb-git-424b68d7cad2434f7432c5f2e83fd1e903afedc8.tar.gz |
Bug#55648: Server crash on MIX/MAX on maximum time value
A typo in the Item_cache_datetime::val_str caused an assertion to fail on the
maximum time value.
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/func_group.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/func_group.test b/mysql-test/t/func_group.test index 6dbc8a05789..2914bb15d18 100644 --- a/mysql-test/t/func_group.test +++ b/mysql-test/t/func_group.test @@ -1085,3 +1085,13 @@ drop table t1; --echo # --echo End of 5.1 tests +--echo # +--echo # Bug#55648: Server crash on MIX/MAX on maximum time value +--echo # +CREATE TABLE t1(c1 TIME NOT NULL); +INSERT INTO t1 VALUES('837:59:59'); +INSERT INTO t1 VALUES('838:59:59'); +SELECT MAX(c1) FROM t1; +DROP TABLE t1; +--echo # End of the bug#55648 + |