summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authorGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-06-04 19:09:50 +0300
committerGeorgi Kodinov <Georgi.Kodinov@Oracle.com>2010-06-04 19:09:50 +0300
commit86dc0f57857ce9e5f1491fdd9a163779040ccff1 (patch)
treea72fd21da4beb2547a48f7e4a93ecd78813a6252 /mysql-test/t/variables.test
parentaad940865857138ead2face0de5fa9cf35b60166 (diff)
parentac738d8265b665dc90be0a7977468096ee463c78 (diff)
downloadmariadb-git-86dc0f57857ce9e5f1491fdd9a163779040ccff1.tar.gz
merge
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index 5e9d8473b20..d865851841f 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -773,6 +773,21 @@ show variables like 'hostname';
--echo # Test 'myisam_mmap_size' option is not dynamic
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
SET @@myisam_mmap_size= 500M;
+
+
+--echo #
+--echo # Bug #52315: utc_date() crashes when system time > year 2037
+--echo #
+
+--error 0, ER_UNKNOWN_ERROR
+SET TIMESTAMP=2*1024*1024*1024;
+--echo #Should not crash
+--disable_result_log
+SELECT UTC_DATE();
+--enable_result_log
+SET TIMESTAMP=DEFAULT;
+
+
--echo End of 5.0 tests
#