This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrong argument was passed to Apply_changes_iter::init()
Summary: Apply_changes_iter::init() function takes "bool is_reverse_arg" as a first argument, but actually RDBSE_KEYDEF was passed from ha_rocksdb::setup_index_scan(). So is_reverse_arg was always true, and RocksDB SE did always reverse index scan, and it also broke Apply_changes_iter behavior. This diff passes correct variable (keydef->is_reverse_cf), and with this fix, I confirmed bug#19 fixed. Test Plan: mtr --suite=rocksdb, including rocksdb.transaction Reviewers: sergey.petrunya.9, hermanlee4, maykov, jonahcohen Reviewed By: jonahcohen Subscribers: jtolmer Differential Revision: https://reviews.facebook.net/D31551
- Loading branch information