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
bbf5cf4d
Commit
bbf5cf4d
authored
May 02, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: sys_vars.cc
remove the redundant declaration tail
parent
735203e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
sql/sys_vars.cc
sql/sys_vars.cc
+3
-8
sql/sys_vars.ic
sql/sys_vars.ic
+1
-1
No files found.
sql/sys_vars.cc
View file @
bbf5cf4d
...
...
@@ -2454,8 +2454,7 @@ static Sys_var_ulong Sys_optimizer_search_depth(
"optimization, but may produce very bad query plans. If set to 0, "
"the system will automatically pick a reasonable value."
,
SESSION_VAR
(
optimizer_search_depth
),
CMD_LINE
(
REQUIRED_ARG
),
VALID_RANGE
(
0
,
MAX_TABLES
+
1
),
DEFAULT
(
MAX_TABLES
+
1
),
BLOCK_SIZE
(
1
),
NO_MUTEX_GUARD
,
NOT_IN_BINLOG
,
ON_CHECK
(
0
),
ON_UPDATE
(
0
));
VALID_RANGE
(
0
,
MAX_TABLES
+
1
),
DEFAULT
(
MAX_TABLES
+
1
),
BLOCK_SIZE
(
1
));
/* this is used in the sigsegv handler */
export
const
char
*
optimizer_switch_names
[]
=
...
...
@@ -5413,9 +5412,7 @@ static const char *wsrep_OSU_method_names[]= { "TOI", "RSU", NullS };
static Sys_var_enum Sys_wsrep_OSU_method(
"
wsrep_OSU_method
", "
Method
for
Online
Schema
Upgrade
",
SESSION_VAR(wsrep_OSU_method), CMD_LINE(OPT_ARG),
wsrep_OSU_method_names, DEFAULT(WSREP_OSU_TOI),
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),
ON_UPDATE(0));
wsrep_OSU_method_names, DEFAULT(WSREP_OSU_TOI));
static PolyLock_mutex PLock_wsrep_desync(&LOCK_wsrep_desync);
static Sys_var_mybool Sys_wsrep_desync (
...
...
@@ -5883,9 +5880,7 @@ static Sys_var_enum Sys_binlog_row_image(
"before image, and only changed columns are logged in the after image. "
"(Default: FULL)."
,
SESSION_VAR
(
binlog_row_image
),
CMD_LINE
(
REQUIRED_ARG
),
binlog_row_image_names
,
DEFAULT
(
BINLOG_ROW_IMAGE_FULL
),
NO_MUTEX_GUARD
,
NOT_IN_BINLOG
,
ON_CHECK
(
NULL
),
ON_UPDATE
(
NULL
));
binlog_row_image_names
,
DEFAULT
(
BINLOG_ROW_IMAGE_FULL
));
static
bool
check_pseudo_slave_mode
(
sys_var
*
self
,
THD
*
thd
,
set_var
*
var
)
{
...
...
sql/sys_vars.ic
View file @
bbf5cf4d
...
...
@@ -325,7 +325,7 @@ public:
Class specific constructor arguments:
char* values[] - 0-terminated list of strings of valid values
Backing store: u
int
Backing store: u
long
@note
Do *not* use "enum FOO" variables as a backing store, there is no
...
...
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