| 1 |
SET @save_fpt=@@GLOBAL.innodb_file_per_table; |
| 2 |
SET GLOBAL innodb_file_per_table=OFF; |
| 3 |
Warnings: |
| 4 |
Warning 1287 '@@innodb_file_per_table' is deprecated and will be removed in a future release |
| 5 |
create table bug56947(a int not null) engine = innodb; |
| 6 |
SET @saved_dbug = @@SESSION.debug_dbug; |
| 7 |
SET DEBUG_DBUG='+d,ib_rebuild_cannot_rename'; |
| 8 |
alter table bug56947 add unique index (a); |
| 9 |
ERROR HY000: Got error 11 "xxx" from storage engine InnoDB |
| 10 |
check table bug56947; |
| 11 |
Table Op Msg_type Msg_text |
| 12 |
test.bug56947 check status OK |
| 13 |
drop table bug56947; |
| 14 |
SET GLOBAL innodb_file_per_table=@save_fpt; |
| 15 |
Warnings: |
| 16 |
Warning 1287 '@@innodb_file_per_table' is deprecated and will be removed in a future release |
| 17 |
SET debug_dbug= @saved_dbug; |