Commit b2842c3c authored by unknown's avatar unknown

Portability fix for 32 bit file systems

parent d5d9f915
...@@ -380,4 +380,4 @@ Variable 'key_buffer_size' is a GLOBAL variable ...@@ -380,4 +380,4 @@ Variable 'key_buffer_size' is a GLOBAL variable
set global myisam_max_sort_file_size=4294967296; set global myisam_max_sort_file_size=4294967296;
show global variables like 'myisam_max_sort_file_size'; show global variables like 'myisam_max_sort_file_size';
Variable_name Value Variable_name Value
myisam_max_sort_file_size 4294967296 myisam_max_sort_file_size MAX_FILE_SIZE
...@@ -274,4 +274,5 @@ select @@session.key_buffer_size; ...@@ -274,4 +274,5 @@ select @@session.key_buffer_size;
# expected: check that there is no overflow when 64-bit unsigned # expected: check that there is no overflow when 64-bit unsigned
# variables are set # variables are set
set global myisam_max_sort_file_size=4294967296; set global myisam_max_sort_file_size=4294967296;
--replace_result 4294967296 MAX_FILE_SIZE 2146435072 MAX_FILE_SIZE
show global variables like 'myisam_max_sort_file_size'; show global variables like 'myisam_max_sort_file_size';
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment