1. 29 9月, 2020 1 次提交
    • J
      Format ORCA and GPOPT. · 219fe0c4
      Jesse Zhang 提交于
      The canonical config file is in src/backend/gpopt/.clang-format (instead
      of under the non-existent src/backend/gporca), I've created one (instead
      of two) symlink, for GPOPT headers. Care has been taken to repoint the
      symlink to the canonical config under gpopt, instead of gpopt as it is
      under HEAD.
      
      This is spiritually a cherry-pick of commit 2f7dd76c.
      (cherry picked from commit 2f7dd76c)
      219fe0c4
  2. 20 9月, 2019 1 次提交
    • S
      Fix miscellaneous warnings when building ORCA translator code · b69e0632
      Shreedhar Hardikar 提交于
      - Fix "missing prototype" warnings
      - Fix "generalized initializer lists are a C++ extension" warning
      
      funcs.cpp:43:1: warning: no previous prototype for function 'DisableXform' [-Wmissing-prototypes]
      DisableXform(PG_FUNCTION_ARGS)
      ^
      funcs.cpp:76:1: warning: no previous prototype for function 'EnableXform' [-Wmissing-prototypes]
      EnableXform(PG_FUNCTION_ARGS)
      ^
      funcs.cpp:109:1: warning: no previous prototype for function 'LibraryVersion' [-Wmissing-prototypes]
      LibraryVersion()
      ^
      funcs.cpp:123:1: warning: no previous prototype for function 'OptVersion' [-Wmissing-prototypes]
      OptVersion()
      ^
      4 warnings generated.
      
      CTranslatorDXLToScalar.cpp:730:9: warning: generalized initializer lists are a C++11 extension [-Wc++11-extensions]
              return { .oid_type = inner_type_oid, .type_modifier = type_modifier};
      b69e0632