Commit b81b6d3f authored by Olivier Bertrand's avatar Olivier Bertrand

- 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
parent 089938cd
......@@ -5975,7 +5975,8 @@ ha_connect::check_if_supported_inplace_alter(TABLE *altered_table,
Alter_inplace_info::ALTER_COLUMN_NAME |
Alter_inplace_info::ALTER_COLUMN_DEFAULT |
Alter_inplace_info::CHANGE_CREATE_OPTION |
Alter_inplace_info::ALTER_RENAME | index_operations;
Alter_inplace_info::ALTER_RENAME |
Alter_inplace_info::ALTER_PARTITIONED | index_operations;
if (ha_alter_info->handler_flags & index_operations ||
!SameString(altered_table, "optname") ||
......
......@@ -282,8 +282,6 @@ a
20
30
ALTER TABLE t2 MODIFY a TINYINT;
Warnings:
Warning 1105 This is an outward table, table data were not modified.
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment