summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-05-14 23:06:06 +0300
committerunknown <monty@narttu.mysql.fi>2003-05-14 23:06:06 +0300
commit43d371409589e835779a6236050ce92bb7344dae (patch)
tree7b78f08478a4c59d98b9de899303a3435b3b288c /mysql-test
parent6ea284dc3f2f519760ad062984cdc10e45c212a8 (diff)
downloadmariadb-git-43d371409589e835779a6236050ce92bb7344dae.tar.gz
Portability fix for 64 bit machines
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/variables.result2
-rw-r--r--mysql-test/t/variables.test1
2 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result
index 8a6791004ee..7c054f55acd 100644
--- a/mysql-test/r/variables.result
+++ b/mysql-test/r/variables.result
@@ -115,7 +115,7 @@ myisam_max_sort_file_size 1048576
set GLOBAL myisam_max_sort_file_size=default;
show variables like 'myisam_max_sort_file_size';
Variable_name Value
-myisam_max_sort_file_size 2147483647
+myisam_max_sort_file_size FILE_SIZE
set global net_retry_count=10, session net_retry_count=10;
set global net_buffer_length=1024, net_write_timeout=200, net_read_timeout=300;
set session net_buffer_length=2048, net_write_timeout=500, net_read_timeout=600;
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index c730f317fcb..fa39906fd6a 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -72,6 +72,7 @@ set GLOBAL query_cache_size=100000;
set GLOBAL myisam_max_sort_file_size=2000000;
show global variables like 'myisam_max_sort_file_size';
set GLOBAL myisam_max_sort_file_size=default;
+--replace_result 2147483647 FILE_SIZE 9223372036854775807 FILE_SIZE
show variables like 'myisam_max_sort_file_size';
set global net_retry_count=10, session net_retry_count=10;