Skip to content

Commit b81b6d3

Browse files
committed
- Fix failing tests. part_file.test failure was due to a new alter flag that
were not taken in acount in check_if_supported_inplace_alter. mysql.test failure is strange, the suppressed warning should not be made anyway. modified: storage/connect/ha_connect.cc storage/connect/mysql-test/connect/r/mysql.result
1 parent 089938c commit b81b6d3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

storage/connect/ha_connect.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5975,7 +5975,8 @@ ha_connect::check_if_supported_inplace_alter(TABLE *altered_table,
59755975
Alter_inplace_info::ALTER_COLUMN_NAME |
59765976
Alter_inplace_info::ALTER_COLUMN_DEFAULT |
59775977
Alter_inplace_info::CHANGE_CREATE_OPTION |
5978-
Alter_inplace_info::ALTER_RENAME | index_operations;
5978+
Alter_inplace_info::ALTER_RENAME |
5979+
Alter_inplace_info::ALTER_PARTITIONED | index_operations;
59795980

59805981
if (ha_alter_info->handler_flags & index_operations ||
59815982
!SameString(altered_table, "optname") ||

storage/connect/mysql-test/connect/r/mysql.result

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ a
282282
20
283283
30
284284
ALTER TABLE t2 MODIFY a TINYINT;
285-
Warnings:
286-
Warning 1105 This is an outward table, table data were not modified.
287285
SHOW CREATE TABLE t2;
288286
Table Create Table
289287
t2 CREATE TABLE `t2` (

0 commit comments

Comments
 (0)