[MDEV-5058] engine options cannot be set together with partitioning Created: 2013-09-23 Updated: 2015-02-18 Resolved: 2013-11-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.4, 5.2.14, 5.3.12, 5.5.33a |
| Fix Version/s: | 5.5.34, 10.0.6 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
One cannot specify engine options when creating a partitioned table:
but adding partitioning later works fine
|
| Comments |
| Comment by Sergei Golubchik [ 2013-11-10 ] | ||
|
This is consistent with how other table attributes work. For example INDEX/DATA DIRECTORY. Compare 1)
2)
In the second example the table is not created in /tmp, index/data clauses are ignored. Because they don't apply to a PARTITION engine, and, being, hard-coded, don't fail for unsupported engines. TokuDB specific clauses properly fail for a unsupported engine (like PARTITION). When partitioning is enabled, they should be specified per partition, not for the whole table. This is |