From dccc4431e0fc7892457e75688b8e45eb35a527f9 Mon Sep 17 00:00:00 2001 From: obdev Date: Sun, 12 Jun 2022 12:38:27 +0800 Subject: [PATCH] [CP] Fix block id overflow bug. --- src/storage/blocksstable/ob_tmp_file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/blocksstable/ob_tmp_file.h b/src/storage/blocksstable/ob_tmp_file.h index 9d7bc65010..a5a0c939f3 100644 --- a/src/storage/blocksstable/ob_tmp_file.h +++ b/src/storage/blocksstable/ob_tmp_file.h @@ -184,7 +184,7 @@ public: { block_id_ = block_id; } - OB_INLINE int32_t get_block_id() const + OB_INLINE int64_t get_block_id() const { return block_id_; } -- GitLab