Skip to content

Commit 19720e8

Browse files
committed
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.
1 parent be6717c commit 19720e8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/include/optimizer/orcaopt.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@
2929

3030
#include "pg_config.h"
3131

32-
#ifdef USE_ORCA
3332

3433
typedef struct OptimizerOptions
3534
{
3635
bool create_vectorization_plan;
3736
} OptimizerOptions;
3837

39-
#endif
4038

4139
#endif /* ORCA_H */

0 commit comments

Comments
 (0)