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
8635c4b4
Commit
8635c4b4
authored
May 21, 2015
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test failure.
parent
137ba7d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
11 deletions
+2
-11
mysql-test/suite/sys_vars/r/innodb_encrypt_tables_basic.result
...-test/suite/sys_vars/r/innodb_encrypt_tables_basic.result
+2
-8
mysql-test/suite/sys_vars/t/innodb_encrypt_tables_basic.test
mysql-test/suite/sys_vars/t/innodb_encrypt_tables_basic.test
+0
-3
No files found.
mysql-test/suite/sys_vars/r/innodb_encrypt_tables_basic.result
View file @
8635c4b4
...
@@ -19,23 +19,17 @@ where variable_name='innodb_encrypt_tables';
...
@@ -19,23 +19,17 @@ where variable_name='innodb_encrypt_tables';
VARIABLE_NAME VARIABLE_VALUE
VARIABLE_NAME VARIABLE_VALUE
INNODB_ENCRYPT_TABLES OFF
INNODB_ENCRYPT_TABLES OFF
set global innodb_encrypt_tables=ON;
set global innodb_encrypt_tables=ON;
ERROR 42000: Variable 'innodb_encrypt_tables' can't be set to the value of 'ON'
show warnings;
Level Code Message
Warning 138 InnoDB: cannot enable encryption, encryption plugin is not available
Error 1231 Variable 'innodb_encrypt_tables' can't be set to the value of 'ON'
select @@global.innodb_encrypt_tables;
select @@global.innodb_encrypt_tables;
@@global.innodb_encrypt_tables
@@global.innodb_encrypt_tables
O
FF
O
N
set global innodb_encrypt_tables=OFF;
set global innodb_encrypt_tables=OFF;
select @@global.innodb_encrypt_tables;
select @@global.innodb_encrypt_tables;
@@global.innodb_encrypt_tables
@@global.innodb_encrypt_tables
OFF
OFF
set global innodb_encrypt_tables=1;
set global innodb_encrypt_tables=1;
ERROR 42000: Variable 'innodb_encrypt_tables' can't be set to the value of '1'
select @@global.innodb_encrypt_tables;
select @@global.innodb_encrypt_tables;
@@global.innodb_encrypt_tables
@@global.innodb_encrypt_tables
O
FF
O
N
set session innodb_encrypt_tables=1;
set session innodb_encrypt_tables=1;
ERROR HY000: Variable 'innodb_encrypt_tables' is a GLOBAL variable and should be set with SET GLOBAL
ERROR HY000: Variable 'innodb_encrypt_tables' is a GLOBAL variable and should be set with SET GLOBAL
set global innodb_encrypt_tables=1.1;
set global innodb_encrypt_tables=1.1;
...
...
mysql-test/suite/sys_vars/t/innodb_encrypt_tables_basic.test
View file @
8635c4b4
...
@@ -19,13 +19,10 @@ where variable_name='innodb_encrypt_tables';
...
@@ -19,13 +19,10 @@ where variable_name='innodb_encrypt_tables';
#
#
# show that it's writable
# show that it's writable
#
#
--
error
ER_WRONG_VALUE_FOR_VAR
set
global
innodb_encrypt_tables
=
ON
;
set
global
innodb_encrypt_tables
=
ON
;
show
warnings
;
select
@@
global
.
innodb_encrypt_tables
;
select
@@
global
.
innodb_encrypt_tables
;
set
global
innodb_encrypt_tables
=
OFF
;
set
global
innodb_encrypt_tables
=
OFF
;
select
@@
global
.
innodb_encrypt_tables
;
select
@@
global
.
innodb_encrypt_tables
;
--
error
ER_WRONG_VALUE_FOR_VAR
set
global
innodb_encrypt_tables
=
1
;
set
global
innodb_encrypt_tables
=
1
;
select
@@
global
.
innodb_encrypt_tables
;
select
@@
global
.
innodb_encrypt_tables
;
--
error
ER_GLOBAL_VARIABLE
--
error
ER_GLOBAL_VARIABLE
...
...
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