summaryrefslogtreecommitdiff
path: root/plugin/hashicorp_key_management/mysql-test/vault/r/hashicorp_key_migration.result
blob: e2cc045295847bad23a06378522da1b907909978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# restart: with restart_parameters
CREATE TABLE t1 (a VARCHAR(8)) ENGINE=InnoDB ENCRYPTED=YES ENCRYPTION_KEY_ID=1;
INSERT INTO t1 VALUES ('foo'),('bar');
SELECT * FROM t1;
a
foo
bar
# restart: with restart_parameters
CREATE TABLE t2 (a VARCHAR(8)) ENGINE=InnoDB ENCRYPTED=YES ENCRYPTION_KEY_ID=1;
INSERT INTO t2 VALUES ('baz'),('qux');
SELECT * FROM t2;
a
baz
qux
#
# This should not fail, but it does if the bug is not fixed
#
SELECT * FROM t1;
a
foo
bar
SHOW WARNINGS;
Level	Code	Message
# restart: with restart_parameters
SELECT * FROM t1;
a
foo
bar
#
# This should not fail, but it does if the bug is not fixed
#
SELECT * FROM t2;
a
baz
qux
SHOW WARNINGS;
Level	Code	Message
DROP TABLE t1, t2;
# restart