[MDEV-11329] MariaRocks: rocksdb.add_index_inplace fails Created: 2016-11-21 Updated: 2016-12-04 Resolved: 2016-12-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | 10.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
|
| Comments |
| Comment by Sergei Petrunia [ 2016-11-21 ] | ||||||||||
|
The table being altered is partitioned:
| ||||||||||
| Comment by Sergei Petrunia [ 2016-11-21 ] | ||||||||||
|
The difference starts in ha_rocksdb::check_if_supported_inplace_alter(). ha_alter_info->handler_flags value is different. fb/mysql-5.6 has value 1 which is
MariaDB has $108 = 0x80000001 which is
fb/mysql-5.6 doesn't have ALTER_PARTITIONED defined (neither do mysql-5.6, nor mysql-5.7) | ||||||||||
| Comment by Sergei Petrunia [ 2016-11-21 ] | ||||||||||
|
Relevant commits: https://github.com/MariaDB/server/commit/97728e107a5262266a2f6ed61bae9639a1717831 | ||||||||||
| Comment by Sergei Petrunia [ 2016-12-04 ] | ||||||||||
|
Fixed in work tree |