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
edb37ae3
Commit
edb37ae3
authored
Sep 08, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable encrypt_tmp_files and encrypt_binlog by default
parent
2c1553e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
mysql-test/r/mysqld--help.result
mysql-test/r/mysqld--help.result
+2
-4
mysql-test/suite/sys_vars/r/sysvars_server_notembedded.result
...l-test/suite/sys_vars/r/sysvars_server_notembedded.result
+4
-4
sql/sys_vars.cc
sql/sys_vars.cc
+2
-2
No files found.
mysql-test/r/mysqld--help.result
View file @
edb37ae3
...
@@ -178,13 +178,11 @@ The following options may be given as the first argument:
...
@@ -178,13 +178,11 @@ The following options may be given as the first argument:
Precision of the result of '/' operator will be increased
Precision of the result of '/' operator will be increased
on that value
on that value
--encrypt-binlog Encrypt binary logs (including relay logs)
--encrypt-binlog Encrypt binary logs (including relay logs)
(Defaults to on; use --skip-encrypt-binlog to disable.)
--encrypt-tmp-disk-tables
--encrypt-tmp-disk-tables
Encrypt temporary on-disk tables (created as part of
Encrypt temporary on-disk tables (created as part of
query execution)
query execution)
--encrypt-tmp-files Encrypt temporary files (created for filesort, binary log
--encrypt-tmp-files Encrypt temporary files (created for filesort, binary log
cache, etc)
cache, etc)
(Defaults to on; use --skip-encrypt-tmp-files to disable.)
--enforce-storage-engine=name
--enforce-storage-engine=name
Force the use of a storage engine for new tables
Force the use of a storage engine for new tables
--event-scheduler[=name]
--event-scheduler[=name]
...
@@ -1174,9 +1172,9 @@ delayed-insert-limit 100
...
@@ -1174,9 +1172,9 @@ delayed-insert-limit 100
delayed-insert-timeout 300
delayed-insert-timeout 300
delayed-queue-size 1000
delayed-queue-size 1000
div-precision-increment 4
div-precision-increment 4
encrypt-binlog
TRU
E
encrypt-binlog
FALS
E
encrypt-tmp-disk-tables FALSE
encrypt-tmp-disk-tables FALSE
encrypt-tmp-files
TRU
E
encrypt-tmp-files
FALS
E
enforce-storage-engine (No default value)
enforce-storage-engine (No default value)
event-scheduler OFF
event-scheduler OFF
expensive-subquery-limit 100
expensive-subquery-limit 100
...
...
mysql-test/suite/sys_vars/r/sysvars_server_notembedded.result
View file @
edb37ae3
...
@@ -711,9 +711,9 @@ READ_ONLY NO
...
@@ -711,9 +711,9 @@ READ_ONLY NO
COMMAND_LINE_ARGUMENT REQUIRED
COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME ENCRYPT_BINLOG
VARIABLE_NAME ENCRYPT_BINLOG
SESSION_VALUE NULL
SESSION_VALUE NULL
GLOBAL_VALUE O
N
GLOBAL_VALUE O
FF
GLOBAL_VALUE_ORIGIN COMPILE-TIME
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE O
N
DEFAULT_VALUE O
FF
VARIABLE_SCOPE GLOBAL
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE BOOLEAN
VARIABLE_TYPE BOOLEAN
VARIABLE_COMMENT Encrypt binary logs (including relay logs)
VARIABLE_COMMENT Encrypt binary logs (including relay logs)
...
@@ -739,9 +739,9 @@ READ_ONLY NO
...
@@ -739,9 +739,9 @@ READ_ONLY NO
COMMAND_LINE_ARGUMENT OPTIONAL
COMMAND_LINE_ARGUMENT OPTIONAL
VARIABLE_NAME ENCRYPT_TMP_FILES
VARIABLE_NAME ENCRYPT_TMP_FILES
SESSION_VALUE NULL
SESSION_VALUE NULL
GLOBAL_VALUE O
N
GLOBAL_VALUE O
FF
GLOBAL_VALUE_ORIGIN COMPILE-TIME
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE O
N
DEFAULT_VALUE O
FF
VARIABLE_SCOPE GLOBAL
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE BOOLEAN
VARIABLE_TYPE BOOLEAN
VARIABLE_COMMENT Encrypt temporary files (created for filesort, binary log cache, etc)
VARIABLE_COMMENT Encrypt temporary files (created for filesort, binary log cache, etc)
...
...
sql/sys_vars.cc
View file @
edb37ae3
...
@@ -5213,12 +5213,12 @@ static Sys_var_mybool Sys_encrypt_tmp_files(
...
@@ -5213,12 +5213,12 @@ static Sys_var_mybool Sys_encrypt_tmp_files(
"encrypt_tmp_files"
,
"encrypt_tmp_files"
,
"Encrypt temporary files (created for filesort, binary log cache, etc)"
,
"Encrypt temporary files (created for filesort, binary log cache, etc)"
,
READ_ONLY
GLOBAL_VAR
(
encrypt_tmp_files
),
READ_ONLY
GLOBAL_VAR
(
encrypt_tmp_files
),
CMD_LINE
(
OPT_ARG
),
DEFAULT
(
TRU
E
));
CMD_LINE
(
OPT_ARG
),
DEFAULT
(
FALS
E
));
static
Sys_var_mybool
Sys_binlog_encryption
(
static
Sys_var_mybool
Sys_binlog_encryption
(
"encrypt_binlog"
,
"Encrypt binary logs (including relay logs)"
,
"encrypt_binlog"
,
"Encrypt binary logs (including relay logs)"
,
READ_ONLY
GLOBAL_VAR
(
encrypt_binlog
),
CMD_LINE
(
OPT_ARG
),
READ_ONLY
GLOBAL_VAR
(
encrypt_binlog
),
CMD_LINE
(
OPT_ARG
),
DEFAULT
(
TRU
E
));
DEFAULT
(
FALS
E
));
static
const
char
*
binlog_row_image_names
[]
=
{
"MINIMAL"
,
"NOBLOB"
,
"FULL"
,
NullS
};
static
const
char
*
binlog_row_image_names
[]
=
{
"MINIMAL"
,
"NOBLOB"
,
"FULL"
,
NullS
};
static
Sys_var_enum
Sys_binlog_row_image
(
static
Sys_var_enum
Sys_binlog_row_image
(
...
...
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