This is an automated email from the ASF dual-hosted git repository.
yjhjstz 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 19720e8cc45 Fix compilation with --disable-orca
19720e8cc45 is described below
commit 19720e8cc4549396230f111008c067f6442a79d1
Author: Jianghua Yang <[email protected]>
AuthorDate: Wed Sep 3 00:12:43 2025 +0800
Fix compilation with --disable-orca
Remove the USE_ORCA ifdef around OptimizerOptions. The struct is
required regardless of ORCA support, and the conditional caused
compilation failures when configured with --disable-orca.
---
src/include/optimizer/orcaopt.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/include/optimizer/orcaopt.h b/src/include/optimizer/orcaopt.h
index 2bb5395875c..4a045b632c0 100644
--- a/src/include/optimizer/orcaopt.h
+++ b/src/include/optimizer/orcaopt.h
@@ -29,13 +29,11 @@
#include "pg_config.h"
-#ifdef USE_ORCA
typedef struct OptimizerOptions
{
bool create_vectorization_plan;
} OptimizerOptions;
-#endif
#endif /* ORCA_H */
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]