Commit 33f3d40c authored by John Esmet's avatar John Esmet

FT-93 Add function prototype (missed last commit unfortunately)

parent 1abce35d
...@@ -146,9 +146,12 @@ class ftnode_pivot_keys { ...@@ -146,9 +146,12 @@ class ftnode_pivot_keys {
int num_pivots() const; int num_pivots() const;
// return: the sum of the keys sizes of each pivot // return: the total size of this data structure
size_t total_size() const; size_t total_size() const;
// return: the sum of the keys sizes of each pivot (for serialization)
size_t serialized_size() const;
private: private:
inline size_t _align4(size_t x) const { inline size_t _align4(size_t x) const {
return roundup_to_multiple(4, x); return roundup_to_multiple(4, x);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment