Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/common/base/src/mem_allocator/jemalloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ pub mod not_linux {

#[inline(always)]
unsafe fn deallocate(&self, ptr: NonNull<u8>, layout: Layout) {
StdAllocator.deallocate(ptr, layout)
unsafe { StdAllocator.deallocate(ptr, layout) }
}

unsafe fn grow(
Expand All @@ -258,7 +258,7 @@ pub mod not_linux {
old_layout: Layout,
new_layout: Layout,
) -> Result<NonNull<[u8]>, AllocError> {
StdAllocator.grow(ptr, old_layout, new_layout)
unsafe { StdAllocator.grow(ptr, old_layout, new_layout) }
}

unsafe fn grow_zeroed(
Expand All @@ -267,7 +267,7 @@ pub mod not_linux {
old_layout: Layout,
new_layout: Layout,
) -> Result<NonNull<[u8]>, AllocError> {
StdAllocator.grow_zeroed(ptr, old_layout, new_layout)
unsafe { StdAllocator.grow_zeroed(ptr, old_layout, new_layout) }
}

unsafe fn shrink(
Expand All @@ -276,7 +276,7 @@ pub mod not_linux {
old_layout: Layout,
new_layout: Layout,
) -> Result<NonNull<[u8]>, AllocError> {
StdAllocator.shrink(ptr, old_layout, new_layout)
unsafe { StdAllocator.shrink(ptr, old_layout, new_layout) }
}
}
}
1 change: 1 addition & 0 deletions src/common/exception/src/exception_backtrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ pub struct ResolvedStackFrame {
pub column: Option<u32>,
}

#[cfg(target_os = "linux")]
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone)]
pub struct PhysicalAddr {
pub physical_addr: usize,
Expand Down
2 changes: 1 addition & 1 deletion src/query/storages/fuse/src/io/read/meta/meta_readers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ use opendal::Operator;
use parquet::format::FileMetaData;
use parquet::thrift::TSerializable;

use self::thrift_file_meta_read::read_thrift_file_metadata;
pub use self::thrift_file_meta_read::read_thrift_file_metadata;

pub type TableSnapshotStatisticsReader =
InMemoryCacheReader<TableSnapshotStatistics, LoaderWrapper<Operator>>;
Expand Down
1 change: 1 addition & 0 deletions src/query/storages/fuse/src/io/read/meta/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ pub use meta_readers::MetaReaders;
pub use meta_readers::SegmentStatsReader;
pub use meta_readers::TableSnapshotReader;
pub use meta_readers::bytes_reader;
pub use meta_readers::read_thrift_file_metadata;
Loading
Loading