Skip to content

Commit 6692b5f

Browse files
committed
Merge 10.1 into 10.2
2 parents c3b641e + 892cf2d commit 6692b5f

17 files changed

+124
-113
lines changed

mysql-test/suite/encryption/r/encryption_force.result

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ t4 CREATE TABLE `t4` (
3434
PARTITION BY HASH (`a`)
3535
PARTITIONS 2
3636
alter table t1 encrypted=no;
37-
ERROR HY000: Can't create table `test`.`#sql-temporary` (errno: 140 "Wrong create options")
37+
ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'ENCRYPTED'
3838
alter table t2 encrypted=yes;
3939
alter table t3 encrypted=default;
4040
alter table t4 encrypted=no;
41-
ERROR HY000: Can't create table `test`.`#sql-temporary` (errno: 140 "Wrong create options")
41+
ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'ENCRYPTED'
4242
show create table t1;
4343
Table Create Table
4444
t1 CREATE TABLE `t1` (

mysql-test/suite/encryption/r/filekeys_encfile.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ t1 CREATE TABLE `t1` (
1414
`b` char(200) DEFAULT NULL
1515
) ENGINE=InnoDB DEFAULT CHARSET=latin1 `encrypted`=yes `encryption_key_id`=2
1616
alter table t1 encryption_key_id=3;
17-
ERROR HY000: Can't create table `test`.`#sql-temporary` (errno: 140 "Wrong create options")
17+
ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'ENCRYPTION_KEY_ID'
1818
show create table t1;
1919
Table Create Table
2020
t1 CREATE TABLE `t1` (

mysql-test/suite/encryption/r/filekeys_encfile_file.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ t1 CREATE TABLE `t1` (
1414
`b` char(200) DEFAULT NULL
1515
) ENGINE=InnoDB DEFAULT CHARSET=latin1 `encrypted`=yes `encryption_key_id`=2
1616
alter table t1 encryption_key_id=3;
17-
ERROR HY000: Can't create table `test`.`#sql-temporary` (errno: 140 "Wrong create options")
17+
ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'ENCRYPTION_KEY_ID'
1818
show create table t1;
1919
Table Create Table
2020
t1 CREATE TABLE `t1` (

mysql-test/suite/encryption/r/innodb-encryption-alter.result

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,10 @@ CREATE TABLE t2 (pk INT PRIMARY KEY AUTO_INCREMENT, c VARCHAR(256)) ENGINE=INNOD
4141
Warnings:
4242
Warning 140 InnoDB: Ignored ENCRYPTION_KEY_ID 1 when encryption is disabled
4343
ALTER TABLE t1 ENCRYPTION_KEY_ID=99;
44-
ERROR HY000: Can't create table `test`.`#sql-temporary` (errno: 140 "Wrong create options")
44+
ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'ENCRYPTION_KEY_ID'
4545
SHOW WARNINGS;
4646
Level Code Message
4747
Warning 140 InnoDB: ENCRYPTION_KEY_ID 99 not available
48-
Error 1005 Can't create table `test`.`#sql-temporary` (errno: 140 "Wrong create options")
49-
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
48+
Error 1478 Table storage engine 'InnoDB' does not support the create option 'ENCRYPTION_KEY_ID'
5049
set innodb_default_encryption_key_id = 1;
5150
drop table t1,t2;

mysql-test/suite/encryption/r/innodb-spatial-index.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ERROR HY000: Can't create table `test`.`t1` (errno: 140 "Wrong create options")
55
CREATE TABLE t1 (pk INT PRIMARY KEY AUTO_INCREMENT,
66
c VARCHAR(256), coordinate POINT NOT NULL, SPATIAL index(coordinate)) ENGINE=INNODB;
77
ALTER TABLE t1 ENCRYPTED=YES;
8-
ERROR HY000: Can't create table `test`.`#sql-temporary` (errno: 140 "Wrong create options")
8+
ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'ENCRYPTED'
99
DROP TABLE t1;
1010
CREATE TABLE t1 (pk INT PRIMARY KEY AUTO_INCREMENT,
1111
c VARCHAR(256), coordinate POINT NOT NULL) ENCRYPTED=YES ENGINE=INNODB;

mysql-test/suite/encryption/t/encryption_force.test

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@ show create table t2;
2222
show create table t3;
2323
show create table t4;
2424

25-
--replace_regex /#sql-[0-9a-f_]*/#sql-temporary/
26-
--error ER_CANT_CREATE_TABLE
25+
--error ER_ILLEGAL_HA_CREATE_OPTION
2726
alter table t1 encrypted=no;
2827
alter table t2 encrypted=yes;
2928
alter table t3 encrypted=default;
30-
--replace_regex /#sql-[0-9a-f_]*/#sql-temporary/
31-
--error ER_CANT_CREATE_TABLE
29+
--error ER_ILLEGAL_HA_CREATE_OPTION
3230
alter table t4 encrypted=no;
3331

3432
show create table t1;

mysql-test/suite/encryption/t/filekeys_goodtest.inc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ insert t1 values (12345, repeat('1234567890', 20));
77

88
alter table t1 encryption_key_id=2;
99
show create table t1;
10-
--replace_regex /#sql-[0-9a-f_]*/#sql-temporary/
11-
--error ER_CANT_CREATE_TABLE
10+
--error ER_ILLEGAL_HA_CREATE_OPTION
1211
alter table t1 encryption_key_id=3;
1312
show create table t1;
1413
alter table t1 encryption_key_id=33;
@@ -17,4 +16,3 @@ alter table t1 encryption_key_id=4;
1716
show create table t1;
1817

1918
drop table t1;
20-

mysql-test/suite/encryption/t/innodb-encryption-alter.test

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ DROP TABLE t1;
2727
CREATE TABLE t1 (pk INT PRIMARY KEY AUTO_INCREMENT, c VARCHAR(256)) ENGINE=INNODB;
2828
SHOW CREATE TABLE t1;
2929
CREATE TABLE t2 (pk INT PRIMARY KEY AUTO_INCREMENT, c VARCHAR(256)) ENGINE=INNODB ENCRYPTED=NO ENCRYPTION_KEY_ID=1;
30-
--replace_regex /#sql-[0-9a-f_]*/#sql-temporary/
31-
--error 1005
30+
--error ER_ILLEGAL_HA_CREATE_OPTION
3231
ALTER TABLE t1 ENCRYPTION_KEY_ID=99;
33-
--replace_regex /#sql-[0-9a-f_]*/#sql-temporary/
3432
SHOW WARNINGS;
3533
set innodb_default_encryption_key_id = 1;
3634

mysql-test/suite/encryption/t/innodb-spatial-index.test

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ ENCRYPTED=YES;
2020
#
2121
CREATE TABLE t1 (pk INT PRIMARY KEY AUTO_INCREMENT,
2222
c VARCHAR(256), coordinate POINT NOT NULL, SPATIAL index(coordinate)) ENGINE=INNODB;
23-
--replace_regex /#sql-[0-9a-f_]*`/#sql-temporary`/
24-
--error ER_CANT_CREATE_TABLE
23+
--error ER_ILLEGAL_HA_CREATE_OPTION
2524
ALTER TABLE t1 ENCRYPTED=YES;
26-
--replace_regex /#sql-[0-9a-f_]*`/#sql-temporary`/
2725
DROP TABLE t1;
2826

2927
#

mysql-test/suite/innodb/r/innodb-page_compression_tables.result

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ innodb_redundant CREATE TABLE `innodb_redundant` (
3636
`b` char(200) DEFAULT NULL
3737
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=REDUNDANT
3838
alter table innodb_redundant page_compressed=1;
39-
ERROR HY000: Can't create table `test`.`#sql-temporary` (errno: 140 "Wrong create options")
39+
ERROR HY000: Table storage engine 'InnoDB' does not support the create option 'PAGE_COMPRESSED'
4040
show warnings;
4141
Level Code Message
4242
Warning 140 InnoDB: PAGE_COMPRESSED table can't have ROW_TYPE=REDUNDANT
43-
Error 1005 Can't create table `test`.`#sql-temporary` (errno: 140 "Wrong create options")
44-
Warning 1030 Got error 140 "Wrong create options" from storage engine InnoDB
43+
Error 1478 Table storage engine 'InnoDB' does not support the create option 'PAGE_COMPRESSED'
4544
show create table innodb_redundant;
4645
Table Create Table
4746
innodb_redundant CREATE TABLE `innodb_redundant` (

0 commit comments

Comments
 (0)