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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
6e2af7d0
Commit
6e2af7d0
authored
Jan 30, 2019
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mariabackup : Remove unused parameter innodb_buffer_pool_size
parent
27f1de5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
extra/mariabackup/xtrabackup.cc
extra/mariabackup/xtrabackup.cc
+0
-15
No files found.
extra/mariabackup/xtrabackup.cc
View file @
6e2af7d0
...
...
@@ -250,7 +250,6 @@ static ulong innobase_log_block_size = 512;
char
*
innobase_doublewrite_file
=
NULL
;
char
*
innobase_buffer_pool_filename
=
NULL
;
longlong
innobase_buffer_pool_size
=
8
*
1024
*
1024L
;
longlong
innobase_log_file_size
=
48
*
1024
*
1024L
;
/* The default values for the following char* start-up parameters
...
...
@@ -1023,11 +1022,6 @@ struct my_option xb_server_options[] =
(
G_PTR
*
)
&
srv_auto_extend_increment
,
(
G_PTR
*
)
&
srv_auto_extend_increment
,
0
,
GET_ULONG
,
REQUIRED_ARG
,
8L
,
1L
,
1000L
,
0
,
1L
,
0
},
{
"innodb_buffer_pool_size"
,
OPT_INNODB_BUFFER_POOL_SIZE
,
"The size of the memory buffer InnoDB uses to cache data and indexes of its tables."
,
(
G_PTR
*
)
&
innobase_buffer_pool_size
,
(
G_PTR
*
)
&
innobase_buffer_pool_size
,
0
,
GET_LL
,
REQUIRED_ARG
,
8
*
1024
*
1024L
,
1024
*
1024L
,
LONGLONG_MAX
,
0
,
1024
*
1024L
,
0
},
{
"innodb_checksums"
,
OPT_INNODB_CHECKSUMS
,
"Enable InnoDB checksums validation (enabled by default). \
Disable with --skip-innodb-checksums."
,
(
G_PTR
*
)
&
innobase_use_checksums
,
(
G_PTR
*
)
&
innobase_use_checksums
,
0
,
GET_BOOL
,
NO_ARG
,
1
,
0
,
0
,
0
,
0
,
0
},
...
...
@@ -1546,13 +1540,6 @@ innodb_init_param(void)
" on 32-bit systems
\n
"
);
}
if
(
innobase_buffer_pool_size
>
UINT_MAX32
)
{
msg
(
"mariabackup: innobase_buffer_pool_size can't be "
"over 4GB on 32-bit systems
\n
"
);
goto
error
;
}
if
(
innobase_log_file_size
>
UINT_MAX32
)
{
msg
(
"mariabackup: innobase_log_file_size can't be "
"over 4GB on 32-bit systemsi
\n
"
);
...
...
@@ -1677,8 +1664,6 @@ innodb_init_param(void)
/* We set srv_pool_size here in units of 1 kB. InnoDB internally
changes the value so that it becomes the number of database pages. */
//srv_buf_pool_size = (ulint) innobase_buffer_pool_size;
srv_buf_pool_size
=
(
ulint
)
xtrabackup_use_memory
;
srv_mem_pool_size
=
(
ulint
)
innobase_additional_mem_pool_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