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
f14f0483
Commit
f14f0483
authored
Dec 14, 2017
by
Eugene Kosov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests: fix encryption.encrypt_and_grep [#387]
parent
2e3b580b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/suite/encryption/r/encrypt_and_grep.result
mysql-test/suite/encryption/r/encrypt_and_grep.result
+1
-1
mysql-test/suite/encryption/t/encrypt_and_grep.test
mysql-test/suite/encryption/t/encrypt_and_grep.test
+1
-1
No files found.
mysql-test/suite/encryption/r/encrypt_and_grep.result
View file @
f14f0483
...
...
@@ -37,11 +37,11 @@ mysql/innodb_table_stats
mysql/innodb_index_stats
mysql/transaction_registry
mysql/vtmd_template
test/t2
test/t3
SELECT NAME FROM INFORMATION_SCHEMA.INNODB_TABLESPACES_ENCRYPTION WHERE MIN_KEY_VERSION <> 0;
NAME
test/t1
test/t2
innodb_system
# t1 yes on expecting NOT FOUND
NOT FOUND /foobarsecret/ in t1.ibd
...
...
mysql-test/suite/encryption/t/encrypt_and_grep.test
View file @
f14f0483
...
...
@@ -60,7 +60,7 @@ SET GLOBAL innodb_encrypt_tables = off;
--
echo
# Wait max 10 min for key encryption threads to decrypt all spaces
--
let
$wait_timeout
=
600
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
5
FROM
INFORMATION_SCHEMA
.
INNODB_TABLESPACES_ENCRYPTION
WHERE
MIN_KEY_VERSION
=
0
AND
CURRENT_KEY_VERSION
=
0
;
--
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
6
FROM
INFORMATION_SCHEMA
.
INNODB_TABLESPACES_ENCRYPTION
WHERE
MIN_KEY_VERSION
=
0
AND
CURRENT_KEY_VERSION
=
0
;
--
source
include
/
wait_condition
.
inc
SELECT
NAME
FROM
INFORMATION_SCHEMA
.
INNODB_TABLESPACES_ENCRYPTION
WHERE
MIN_KEY_VERSION
=
0
;
...
...
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