From 51da511bc4b451b059746b613dcc7bf612e22b67 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Fri, 30 Jan 2026 03:44:18 +0000 Subject: [PATCH] Fix typo name for support_io_uring --- contrib/pax_storage/src/cpp/comm/fast_io.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/pax_storage/src/cpp/comm/fast_io.cc b/contrib/pax_storage/src/cpp/comm/fast_io.cc index 7ed96d7a377..c2dcd235541 100644 --- a/contrib/pax_storage/src/cpp/comm/fast_io.cc +++ b/contrib/pax_storage/src/cpp/comm/fast_io.cc @@ -26,7 +26,7 @@ */ #include "fast_io.h" - +#include #include // for pread // uring_likely may not be defined in older liburing versions @@ -42,7 +42,7 @@ namespace pax { bool IOUringFastIO::available() { - static char support_io_uring = 0; + static int8_t support_io_uring = 0; if (support_io_uring == 1) return true; if (support_io_uring == -1) return false; @@ -142,4 +142,4 @@ std::pair SyncFastIO::read(int fd, std::vector &request, st return {retcode, success_read}; } -} // namespace pax \ No newline at end of file +} // namespace pax