summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_time.test
diff options
context:
space:
mode:
authorramil/ram@ramil.myoffice.izhnet.ru <>2007-03-05 11:57:51 +0400
committerramil/ram@ramil.myoffice.izhnet.ru <>2007-03-05 11:57:51 +0400
commitb69493027e0f37714785e6fe85bbd55b15f98e65 (patch)
tree6ebf60bef053d8a437dc8caadeaf57f2169c6bec /mysql-test/t/func_time.test
parentedf3519b231fc3012edf31e681a911c813deefe6 (diff)
parent363b0b6ff193f1995a027f5fa5e864bfc66096c9 (diff)
downloadmariadb-git-b69493027e0f37714785e6fe85bbd55b15f98e65.tar.gz
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.1-maint
into mysql.com:/home/ram/work/b23616/b23616.5.1
Diffstat (limited to 'mysql-test/t/func_time.test')
-rw-r--r--mysql-test/t/func_time.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/func_time.test b/mysql-test/t/func_time.test
index ccb4c2cd0e2..41f0899cc66 100644
--- a/mysql-test/t/func_time.test
+++ b/mysql-test/t/func_time.test
@@ -571,6 +571,13 @@ union
select last_day('0000-00-00');
+#
+# Bug 23616: datetime functions with double argumets
+#
+
+select isnull(week(now() + 0)), isnull(week(now() + 0.2)),
+ week(20061108), week(20061108.01), week(20061108085411.000002);
+
--echo End of 4.1 tests
explain extended select timestampdiff(SQL_TSI_WEEK, '2001-02-01', '2001-05-01') as a1,