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
-
Activity
Field | Original Value | New Value |
---|---|---|
Affects Version/s | 10.7 [ 24805 ] |
Fix Version/s | 10.8 [ 26121 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Link |
This issue is caused by |
Link |
This issue relates to |
Link |
This issue is caused by |
Link |
This issue relates to |
Link |
This issue is caused by |
Assignee | Aleksey Midenkov [ midenok ] | Oleksandr Byelkin [ sanja ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Oleksandr Byelkin [ sanja ] | Aleksey Midenkov [ midenok ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Labels | pushing |
Fix Version/s | 10.10.7 [ 29018 ] | |
Fix Version/s | 10.11.6 [ 29020 ] | |
Fix Version/s | 11.0.4 [ 29021 ] | |
Fix Version/s | 11.1.3 [ 29023 ] | |
Fix Version/s | 11.2.2 [ 29035 ] | |
Fix Version/s | 11.3.1 [ 29416 ] | |
Fix Version/s | 10.9 [ 26905 ] | |
Fix Version/s | 10.10 [ 27530 ] | |
Fix Version/s | 10.11 [ 27614 ] | |
Fix Version/s | 11.0 [ 28320 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link | This issue blocks MENT-1993 [ MENT-1993 ] |
Please review bb-10.7-midenok