This is an automated email from the ASF dual-hosted git repository.

djwang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


The following commit(s) were added to refs/heads/main by this push:
     new 6cab8f74e21 Fix typo name for support_io_uring
6cab8f74e21 is described below

commit 6cab8f74e211414c1642cca9b6c22a40ed8751ff
Author: Hao Wu <[email protected]>
AuthorDate: Fri Jan 30 03:44:18 2026 +0000

    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 <stdint.h>
 #include <unistd.h>  // 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<int, int> SyncFastIO::read(int fd, 
std::vector<IORequest> &request, st
   return {retcode, success_read};
 }
 
-} // namespace pax
\ No newline at end of file
+} // namespace pax


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to