You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tsfile.apache.org by co...@apache.org on 2025/11/30 04:08:21 UTC
(tsfile) 02/07: fix fmt.
This is an automated email from the ASF dual-hosted git repository.
colinlee pushed a commit to branch colin_support_read_tree
in repository https://gitbox.apache.org/repos/asf/tsfile.git
commit 66afe3edad6ad0d4eace94ae46a09a8773ef2f44
Author: ColinLee <sh...@163.com>
AuthorDate: Thu Nov 20 12:13:04 2025 +0800
fix fmt.
---
cpp/src/file/tsfile_io_reader.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cpp/src/file/tsfile_io_reader.cc b/cpp/src/file/tsfile_io_reader.cc
index 92c05c92..2801d6f8 100644
--- a/cpp/src/file/tsfile_io_reader.cc
+++ b/cpp/src/file/tsfile_io_reader.cc
@@ -703,7 +703,7 @@ int TsFileIOReader::do_load_all_timeseries_index(
end_offset = index_node_entry.second;
int32_t read_size = (int32_t)(end_offset - start_offset);
int32_t ret_read_len = 0;
- char *ti_buf = in_timeseries_index_pa.alloc(read_size);
+ char* ti_buf = in_timeseries_index_pa.alloc(read_size);
if (IS_NULL(ti_buf)) {
return E_OOM;
}
@@ -714,7 +714,7 @@ int TsFileIOReader::do_load_all_timeseries_index(
ByteStream bs;
bs.wrap_from(ti_buf, read_size);
while (bs.has_remaining()) {
- void *buf = in_timeseries_index_pa.alloc(sizeof(TimeseriesIndex));
+ void* buf = in_timeseries_index_pa.alloc(sizeof(TimeseriesIndex));
auto ts_idx = new (buf) TimeseriesIndex;
if (RET_FAIL(
ts_idx->deserialize_from(bs, &in_timeseries_index_pa))) {