[bugfix] fix compatibility of log_block_header

This commit is contained in:
obdev
2022-12-16 04:07:57 +00:00
committed by ob-robot
parent a7a929259e
commit 58a23f5f7b
3 changed files with 14 additions and 2 deletions

View File

@ -109,6 +109,8 @@ public:
//fixed length serialization
int fixed_serialize(char* buf, const int64_t buf_len, int64_t& pos) const;
//used for checksum with old value of INT64_MAX, if transforming max value, checksum will change;
int fixed_deserialize_without_transform(const char* buf, const int64_t data_len, int64_t& pos);
int fixed_deserialize(const char* buf, const int64_t data_len, int64_t& pos);
int64_t get_fixed_serialize_size(void) const;