mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
lp:702084 - myisam_block_size is not reported in SHOW GLOBAL VARIABLES
add a read-only server variable @@myisam_block_size
This commit is contained in:
@ -2445,3 +2445,9 @@ DROP TABLE t1;
|
|||||||
SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
|
SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
|
||||||
SET myisam_repair_threads=@@global.myisam_repair_threads;
|
SET myisam_repair_threads=@@global.myisam_repair_threads;
|
||||||
End of 5.1 tests
|
End of 5.1 tests
|
||||||
|
show variables like 'myisam_block_size';
|
||||||
|
Variable_name Value
|
||||||
|
myisam_block_size 1024
|
||||||
|
select @@global.myisam_block_size;
|
||||||
|
@@global.myisam_block_size
|
||||||
|
1024
|
||||||
|
@ -1693,3 +1693,6 @@ SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
|
|||||||
SET myisam_repair_threads=@@global.myisam_repair_threads;
|
SET myisam_repair_threads=@@global.myisam_repair_threads;
|
||||||
|
|
||||||
--echo End of 5.1 tests
|
--echo End of 5.1 tests
|
||||||
|
|
||||||
|
show variables like 'myisam_block_size';
|
||||||
|
select @@global.myisam_block_size;
|
||||||
|
@ -469,6 +469,10 @@ static sys_var_thd_enum sys_myisam_stats_method(&vars, "myisam_stats_met
|
|||||||
&myisam_stats_method_typelib,
|
&myisam_stats_method_typelib,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
|
static sys_var_const sys_myisam_block_size(&vars, "myisam_block_size",
|
||||||
|
OPT_GLOBAL, SHOW_LONG,
|
||||||
|
(uchar*) &myisam_block_size);
|
||||||
|
|
||||||
#ifdef __NT__
|
#ifdef __NT__
|
||||||
/* purecov: begin inspected */
|
/* purecov: begin inspected */
|
||||||
static sys_var_const sys_named_pipe(&vars, "named_pipe",
|
static sys_var_const sys_named_pipe(&vars, "named_pipe",
|
||||||
|
Reference in New Issue
Block a user