Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0741f1a9
Commit
0741f1a9
authored
Mar 28, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lp:702084 - myisam_block_size is not reported in SHOW GLOBAL VARIABLES
add a read-only server variable @@myisam_block_size
parent
aa8cc813
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
mysql-test/r/myisam.result
mysql-test/r/myisam.result
+6
-0
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+3
-0
sql/set_var.cc
sql/set_var.cc
+4
-0
No files found.
mysql-test/r/myisam.result
View file @
0741f1a9
...
...
@@ -2445,3 +2445,9 @@ DROP TABLE t1;
SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
SET myisam_repair_threads=@@global.myisam_repair_threads;
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
mysql-test/t/myisam.test
View file @
0741f1a9
...
...
@@ -1693,3 +1693,6 @@ SET myisam_sort_buffer_size=@@global.myisam_sort_buffer_size;
SET
myisam_repair_threads
=@@
global
.
myisam_repair_threads
;
--
echo
End
of
5.1
tests
show
variables
like
'myisam_block_size'
;
select
@@
global
.
myisam_block_size
;
sql/set_var.cc
View file @
0741f1a9
...
...
@@ -469,6 +469,10 @@ static sys_var_thd_enum sys_myisam_stats_method(&vars, "myisam_stats_met
&
myisam_stats_method_typelib
,
NULL
);
static
sys_var_const
sys_myisam_block_size
(
&
vars
,
"myisam_block_size"
,
OPT_GLOBAL
,
SHOW_LONG
,
(
uchar
*
)
&
myisam_block_size
);
#ifdef __NT__
/* purecov: begin inspected */
static
sys_var_const
sys_named_pipe
(
&
vars
,
"named_pipe"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment