diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2008-12-23 18:21:01 +0400 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2008-12-23 18:21:01 +0400 |
commit | f42b9ad93f01ea495405fb9188a73433adce1bbd (patch) | |
tree | c905f4d7832739aedf78277c02152e44e1743d9c /mysql-test/t/func_time.test | |
parent | cb6a7559292703bfc40fd82851c330481f0289a4 (diff) | |
parent | c06df92af647e67731cb3a76bd91d57219407f01 (diff) | |
download | mariadb-git-f42b9ad93f01ea495405fb9188a73433adce1bbd.tar.gz |
5.0-bugteam->5.1-bugteam merge
Diffstat (limited to 'mysql-test/t/func_time.test')
-rw-r--r-- | mysql-test/t/func_time.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/func_time.test b/mysql-test/t/func_time.test index c417e9a02bf..cdc4e2c8aa6 100644 --- a/mysql-test/t/func_time.test +++ b/mysql-test/t/func_time.test @@ -304,6 +304,15 @@ select unix_timestamp('1970-01-01 03:00:01'); # check bad date, close to the boundary (we cut them off in the very end) select unix_timestamp('2038-01-19 07:14:07'); +# +# Bug #28759: DAYNAME() and MONTHNAME() return binary string +# + +SELECT CHARSET(DAYNAME(19700101)); +SELECT CHARSET(MONTHNAME(19700101)); +SELECT LOWER(DAYNAME(19700101)); +SELECT LOWER(MONTHNAME(19700101)); +SELECT COERCIBILITY(MONTHNAME('1970-01-01')),COERCIBILITY(DAYNAME('1970-01-01')); # # Test types from + INTERVAL |