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
35d9a05f
Commit
35d9a05f
authored
Oct 04, 2007
by
tsmith@sita.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge sita.local:/Users/tsmith/m/bk/50-5.0.48
into sita.local:/Users/tsmith/m/bk/maint/50
parents
567ceed5
0111438b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
2 deletions
+14
-2
sql/ha_innodb.cc
sql/ha_innodb.cc
+3
-0
sql/ha_innodb.h
sql/ha_innodb.h
+2
-1
sql/mysqld.cc
sql/mysqld.cc
+8
-1
sql/set_var.cc
sql/set_var.cc
+1
-0
No files found.
sql/ha_innodb.cc
View file @
35d9a05f
...
...
@@ -174,6 +174,7 @@ my_bool innobase_file_per_table = FALSE;
my_bool
innobase_locks_unsafe_for_binlog
=
FALSE
;
my_bool
innobase_rollback_on_timeout
=
FALSE
;
my_bool
innobase_create_status_file
=
FALSE
;
my_bool
innobase_adaptive_hash_index
=
TRUE
;
static
char
*
internal_innobase_data_file_path
=
NULL
;
...
...
@@ -1376,6 +1377,8 @@ innobase_init(void)
srv_use_doublewrite_buf
=
(
ibool
)
innobase_use_doublewrite
;
srv_use_checksums
=
(
ibool
)
innobase_use_checksums
;
srv_use_adaptive_hash_indexes
=
(
ibool
)
innobase_adaptive_hash_index
;
os_use_large_pages
=
(
ibool
)
innobase_use_large_pages
;
os_large_page_size
=
(
ulint
)
innobase_large_page_size
;
...
...
sql/ha_innodb.h
View file @
35d9a05f
...
...
@@ -217,7 +217,8 @@ extern my_bool innobase_log_archive,
innobase_use_native_aio
,
innobase_file_per_table
,
innobase_locks_unsafe_for_binlog
,
innobase_rollback_on_timeout
,
innobase_create_status_file
;
innobase_create_status_file
,
innobase_adaptive_hash_index
;
extern
my_bool
innobase_very_fast_shutdown
;
/* set this to 1 just before
calling innobase_end() if you want
InnoDB to shut down without
...
...
sql/mysqld.cc
View file @
35d9a05f
...
...
@@ -4842,7 +4842,8 @@ enum options_mysqld
OPT_MERGE
,
OPT_INNODB_ROLLBACK_ON_TIMEOUT
,
OPT_SECURE_FILE_PRIV
,
OPT_KEEP_FILES_ON_CREATE
OPT_KEEP_FILES_ON_CREATE
,
OPT_INNODB_ADAPTIVE_HASH_INDEX
};
...
...
@@ -5070,6 +5071,12 @@ Disable with --skip-innodb-checksums.", (gptr*) &innobase_use_checksums,
"The common part for InnoDB table spaces."
,
(
gptr
*
)
&
innobase_data_home_dir
,
(
gptr
*
)
&
innobase_data_home_dir
,
0
,
GET_STR
,
REQUIRED_ARG
,
0
,
0
,
0
,
0
,
0
,
0
},
{
"innodb_adaptive_hash_index"
,
OPT_INNODB_ADAPTIVE_HASH_INDEX
,
"Enable InnoDB adaptive hash index (enabled by default). "
"Disable with --skip-innodb-adaptive-hash-index."
,
(
gptr
*
)
&
innobase_adaptive_hash_index
,
(
gptr
*
)
&
innobase_adaptive_hash_index
,
0
,
GET_BOOL
,
NO_ARG
,
1
,
0
,
0
,
0
,
0
,
0
},
{
"innodb_doublewrite"
,
OPT_INNODB_DOUBLEWRITE
,
"Enable InnoDB doublewrite buffer (enabled by default). \
Disable with --skip-innodb-doublewrite."
,
(
gptr
*
)
&
innobase_use_doublewrite
,
(
gptr
*
)
&
innobase_use_doublewrite
,
0
,
GET_BOOL
,
NO_ARG
,
1
,
0
,
0
,
0
,
0
,
0
},
...
...
sql/set_var.cc
View file @
35d9a05f
...
...
@@ -901,6 +901,7 @@ struct show_var_st init_vars[]= {
{
sys_innodb_concurrency_tickets
.
name
,
(
char
*
)
&
sys_innodb_concurrency_tickets
,
SHOW_SYS
},
{
"innodb_data_file_path"
,
(
char
*
)
&
innobase_data_file_path
,
SHOW_CHAR_PTR
},
{
"innodb_data_home_dir"
,
(
char
*
)
&
innobase_data_home_dir
,
SHOW_CHAR_PTR
},
{
"innodb_adaptive_hash_index"
,
(
char
*
)
&
innobase_adaptive_hash_index
,
SHOW_MY_BOOL
},
{
"innodb_doublewrite"
,
(
char
*
)
&
innobase_use_doublewrite
,
SHOW_MY_BOOL
},
{
sys_innodb_fast_shutdown
.
name
,(
char
*
)
&
sys_innodb_fast_shutdown
,
SHOW_SYS
},
{
"innodb_file_io_threads"
,
(
char
*
)
&
innobase_file_io_threads
,
SHOW_LONG
},
...
...
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