File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
mysql-test/suite/encryption Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ t1 CREATE TABLE `t1` (
1515) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci `encrypted`=yes `encryption_key_id`=2
1616alter table t1 encryption_key_id=3;
1717ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'ENCRYPTION_KEY_ID'
18+ show warnings;
19+ Level Code Message
20+ Warning 140 InnoDB: ENCRYPTION_KEY_ID 3 not available
21+ Error 1478 Table storage engine 'InnoDB' does not support the create option 'ENCRYPTION_KEY_ID'
1822show create table t1;
1923Table Create Table
2024t1 CREATE TABLE `t1` (
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ t1 CREATE TABLE `t1` (
1515) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci `encrypted`=yes `encryption_key_id`=2
1616alter table t1 encryption_key_id=3;
1717ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'ENCRYPTION_KEY_ID'
18+ show warnings;
19+ Level Code Message
20+ Warning 140 InnoDB: ENCRYPTION_KEY_ID 3 not available
21+ Error 1478 Table storage engine 'InnoDB' does not support the create option 'ENCRYPTION_KEY_ID'
1822show create table t1;
1923Table Create Table
2024t1 CREATE TABLE `t1` (
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ alter table t1 encryption_key_id=2;
99show create table t1;
1010-- error ER_ILLEGAL_HA_CREATE_OPTION
1111alter table t1 encryption_key_id= 3 ;
12+ show warnings;
1213show create table t1;
1314alter table t1 encryption_key_id= 33 ;
1415show create table t1;
You can’t perform that action at this time.
0 commit comments