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
13 changed files
with
147 additions
and
213 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| CREATE TABLE t1 (i INT) ENGINE=MYISAM | ||
| PARTITION BY LIST(i) ( | ||
| PARTITION p0 VALUES IN (1), | ||
| PARTITION p1 VALUES IN (2) | ||
| ); | ||
| ALTER TABLE t1 ROW_FORMAT=COMPRESSED; | ||
| ALTER TABLE t1 DROP PARTITION p1; | ||
| SELECT * FROM t1; | ||
| i | ||
| 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,17 @@ | ||
| # | ||
| # MDEV-14641 Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine | ||
| # | ||
|
|
||
| --source include/have_partition.inc | ||
|
|
||
| CREATE TABLE t1 (i INT) ENGINE=MYISAM | ||
| PARTITION BY LIST(i) ( | ||
| PARTITION p0 VALUES IN (1), | ||
| PARTITION p1 VALUES IN (2) | ||
| ); | ||
| ALTER TABLE t1 ROW_FORMAT=COMPRESSED; | ||
| ALTER TABLE t1 DROP PARTITION p1; | ||
| SELECT * FROM t1; | ||
|
|
||
| # Cleanup | ||
| 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
Oops, something went wrong.