Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
42 changed files
with
421 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| create table t1 (a int not null, b int not null) engine=innodb; | ||
| insert t1 values (1,2),(3,4); | ||
| lock table t1 write, t1 tr read; | ||
| flush status; | ||
| alter table t1 add primary key (b); | ||
| show status like 'Handler_read_rnd_next'; | ||
| Variable_name Value | ||
| Handler_read_rnd_next 0 | ||
| unlock tables; | ||
| alter table t1 drop primary key; | ||
| lock table t1 write; | ||
| flush status; | ||
| alter table t1 add primary key (b); | ||
| show status like 'Handler_read_rnd_next'; | ||
| Variable_name Value | ||
| Handler_read_rnd_next 0 | ||
| unlock tables; | ||
| alter table t1 drop primary key; | ||
| flush status; | ||
| alter table t1 add primary key (b); | ||
| show status like 'Handler_read_rnd_next'; | ||
| Variable_name Value | ||
| Handler_read_rnd_next 0 | ||
| drop table t1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| # | ||
| # BUG#27216817: INNODB: FAILING ASSERTION: | ||
| # PREBUILT->TABLE->N_MYSQL_HANDLES_OPENED == 1 | ||
| # | ||
|
|
||
| source include/have_innodb.inc; | ||
| create table t1 (a int not null, b int not null) engine=innodb; | ||
| insert t1 values (1,2),(3,4); | ||
|
|
||
| lock table t1 write, t1 tr read; | ||
| flush status; | ||
| alter table t1 add primary key (b); | ||
| show status like 'Handler_read_rnd_next'; | ||
| unlock tables; | ||
| alter table t1 drop primary key; | ||
|
|
||
| lock table t1 write; | ||
| flush status; | ||
| alter table t1 add primary key (b); | ||
| show status like 'Handler_read_rnd_next'; | ||
| unlock tables; | ||
| alter table t1 drop primary key; | ||
|
|
||
| flush status; | ||
| alter table t1 add primary key (b); | ||
| show status like 'Handler_read_rnd_next'; | ||
|
|
||
| drop table t1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.