Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL)
Description
--source include/have_partition.inc
|
|
create database db; |
create user u@localhost; |
grant all on db.* to u@localhost; |
|
--connect (con1,localhost,u,,db)
|
create table t1 (a int) partition by range(a) (p1 values less than (100), p2 values less than (1000)); |
alter table t1 convert partition p2 to table tp; |
alter table t1 convert table tp to partition p2 values less than (1000); |
|
# Cleanup
|
--disconnect con1
|
--connection default
|
drop user u@localhost; |
drop database db; |
11.0 a79abb65 |
mysqltest: At line 10: query 'alter table t1 convert table tp to partition p2 values less than (1000)' failed: ER_TABLEACCESS_DENIED_ERROR (1142): DROP, ALTER command denied to user 'u'@'localhost' for table `db`.`tp` |
So, convert partition to table works, but the other way round does not.
Attachments
Issue Links
- is caused by
-
MDEV-22165 CONVERT TABLE: move in partition from existing table
- Closed
- relates to
-
MDEV-22165 CONVERT TABLE: move in partition from existing table
- Closed
-
MDEV-22166 CONVERT PARTITION: move out partition into a table
- Closed