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
f449ba85
Commit
f449ba85
authored
Dec 07, 2004
by
ram@gw.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix (bug #6993: Max myisam_data_pointer_size limited to 7).
parent
477093eb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
mysql-test/r/variables.result
mysql-test/r/variables.result
+4
-0
mysql-test/t/variables.test
mysql-test/t/variables.test
+7
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-1
No files found.
mysql-test/r/variables.result
View file @
f449ba85
...
@@ -478,3 +478,7 @@ t1 CREATE TABLE `t1` (
...
@@ -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
mysql-test/t/variables.test
View file @
f449ba85
...
@@ -355,3 +355,10 @@ create table t1 as select @arg00 as c1, @arg01 as c2, @arg02 as c3;
...
@@ -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'
;
sql/mysqld.cc
View file @
f449ba85
...
@@ -5004,7 +5004,7 @@ The minimum value for this variable is 4096.",
...
@@ -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
,
...
...
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