Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: fix get record failed when page_handler has inited (#292)
### What problem were solved in this pull request? In the `next()` function of Operator, `record_handler_->get_record(record_page_handler_, &rid, readonly_, ¤t_record_)` may be invoked more than one time. In this case, `record_page_handler_` has inited, it will return `RC::RECORD_OPENNED`, and `get_record()` will be failed. ### What is changed and how it works? If the page_handler is inited, then reinit it if need otherwise return RECORD_OPENNED.
- Loading branch information