-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MyRocks: cleanup Rdb_convert_to_record_key_decoder class
- Since this class is a non-instantiable collection of static methods, delete the rest of special methods (default constructor, move constructor, move assignment operator, destructor) in addition to the currently deleted ones. - Convert method arguments from pointers to references and propagate this up and down the call hierarchy. Most notably this converts many "TABLE *" uses to "const TABLE &" throughout MyRocks, deletes a bit of dead code, converts some constructor assignments to initializer list items. - For touched methods, add [[nodiscard]] as applicable and remove redundant const from parameters, do other minor cleanups. - Move struct Rdb_unpack_func_context definition from rdb_datadic.h to rdb_datadic.cc leaving a forward declaration in the header file.
- Loading branch information
1 parent
b72c7e5
commit 6819ca4
Showing
11 changed files
with
538 additions
and
541 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.