[MDEV-11477] MariaRocks: rocksdb.type_varchar failure Created: 2016-12-02 Updated: 2016-12-02 Resolved: 2016-12-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
rocksdb.type_varchar fails like this:
Initially this was reported here: but in the current tree, I see the same field->part_of_key for both MariaDB and MySQL:
|
| Comments |
| Comment by Sergei Petrunia [ 2016-12-02 ] | |||||||||||||||
|
At start of make_join_statistics:
covering_keys is initially set in setup_table_map():
In both cases, setup_table_map does this:
| |||||||||||||||
| Comment by Sergei Petrunia [ 2016-12-02 ] | |||||||||||||||
|
keys_for_keyread is set in
In both cases, this is a chunk of code like this:
And when proceessing the email_i index from
MySQL will execute the above code for id as the second key part. MariaDB won't, because of its "keys with partially-columns are not extended" property. This is why the execution is different. This case is
I'll just update the test result. |