diff --git a/src/duckdb/third_party/re2/re2/re2.cc b/src/duckdb/third_party/re2/re2/re2.cc index 569a82f6e..3f08720c0 100644 --- a/src/duckdb/third_party/re2/re2/re2.cc +++ b/src/duckdb/third_party/re2/re2/re2.cc @@ -165,6 +165,8 @@ int RE2::Options::ParseFlags() const { } void RE2::Init(const StringPiece& pattern, const Options& options) { + throw std::runtime_error("Checking without re2 support"); + static std::once_flag empty_once; std::call_once(empty_once, []() { empty_string = new std::string;