Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #108: Index-only scans do not work for partitioned tables and e…
…xtended keys - Introduce handler::init_with_fields() - a type of init function in the storage engine that is called *after* TABLE_SHARE's field and key objects are populated. - Add an implementation in ha_rocksdb which sets HA_PRIMARY_KEY_IN_READ_INDEX when PK datatypes allow this - Add an implementation in ha_partition which invokes init_with_fields for underlying partitions - Adjust table.cc:open_binary_frm() so that it calls h->init_with_fields() and does a relevant part of "Extended keys" processing after that. Test Plan: ./mtr --parallel=16 --repeat=16 rocksdb.rocksdb_parts ... Reviewers: spetrunia, hermanlee4, jkedgar Reviewed By: jkedgar Subscribers: yoshinorim, webscalesql-eng Differential Revision: https://reviews.facebook.net/D51195 Differential Revision: https://reviews.facebook.net/D51951
- Loading branch information
Showing
9 changed files
with
104 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--rocksdb_debug_optimizer_n_rows=1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters