summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-05-19 16:42:29 +0400
committerunknown <konstantin@mysql.com>2004-05-19 16:42:29 +0400
commit458f07519c830ddc46d082246dad0ad7cb93f71c (patch)
treef1e194f0321c00e3d34498a4ba83ff99fc89f47f /mysql-test/t/variables.test
parentefbf373be73237fcceeb485eab6a77ec935fb205 (diff)
downloadmariadb-git-458f07519c830ddc46d082246dad0ad7cb93f71c.tar.gz
Fix for Bug#3754 "SET GLOBAL myisam_max_sort_file_size doesn't
work as expected": precision-losing conversion removed from sys_var_thd_ulonglong. mysql-test/r/variables.result: Test case for Bug#3754 mysql-test/t/variables.test: Test case for Bug#3754 sql/set_var.cc: Fix for Bug#3754: precision-losing conversion removed from sys_var_thd_ulonglong.
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index ec86a763023..e59667d6af4 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -268,4 +268,10 @@ select @@xxxxxxxxxx;
select 1;
--error 1238
-select @@session.key_buffer_size; \ No newline at end of file
+select @@session.key_buffer_size;
+
+# Bug#3754 SET GLOBAL myisam_max_sort_file_size doesn't work as
+# expected: check that there is no overflow when 64-bit unsigned
+# variables are set
+set global myisam_max_sort_file_size=4294967296;
+show global variables like 'myisam_max_sort_file_size';