mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
A fix (bug #6993: Max myisam_data_pointer_size limited to 7).
This commit is contained in:
@ -478,3 +478,7 @@ t1 CREATE TABLE `t1` (
|
|||||||
`c3` longtext
|
`c3` longtext
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
SET GLOBAL MYISAM_DATA_POINTER_SIZE= 8;
|
||||||
|
SHOW VARIABLES LIKE 'MYISAM_DATA_POINTER_SIZE';
|
||||||
|
Variable_name Value
|
||||||
|
myisam_data_pointer_size 8
|
||||||
|
@ -355,3 +355,10 @@ create table t1 as select @arg00 as c1, @arg01 as c2, @arg02 as c3;
|
|||||||
show create table t1;
|
show create table t1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #6993: myisam_data_pointer_size
|
||||||
|
#
|
||||||
|
|
||||||
|
SET GLOBAL MYISAM_DATA_POINTER_SIZE= 8;
|
||||||
|
SHOW VARIABLES LIKE 'MYISAM_DATA_POINTER_SIZE';
|
||||||
|
@ -5004,7 +5004,7 @@ The minimum value for this variable is 4096.",
|
|||||||
"Default pointer size to be used for MyISAM tables.",
|
"Default pointer size to be used for MyISAM tables.",
|
||||||
(gptr*) &myisam_data_pointer_size,
|
(gptr*) &myisam_data_pointer_size,
|
||||||
(gptr*) &myisam_data_pointer_size, 0, GET_ULONG, REQUIRED_ARG,
|
(gptr*) &myisam_data_pointer_size, 0, GET_ULONG, REQUIRED_ARG,
|
||||||
4, 2, 7, 0, 1, 0},
|
4, 2, 8, 0, 1, 0},
|
||||||
{"myisam_max_extra_sort_file_size", OPT_MYISAM_MAX_EXTRA_SORT_FILE_SIZE,
|
{"myisam_max_extra_sort_file_size", OPT_MYISAM_MAX_EXTRA_SORT_FILE_SIZE,
|
||||||
"Used to help MySQL to decide when to use the slow but safe key cache index create method.",
|
"Used to help MySQL to decide when to use the slow but safe key cache index create method.",
|
||||||
(gptr*) &global_system_variables.myisam_max_extra_sort_file_size,
|
(gptr*) &global_system_variables.myisam_max_extra_sort_file_size,
|
||||||
|
Reference in New Issue
Block a user