From 4e74a02240c8863fa001f2adf97114c741e82eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sun, 24 Mar 2024 10:07:15 +0100 Subject: [PATCH] DO NOT MERGE: Poison re2 --- src/duckdb/third_party/re2/re2/re2.cc | 2 ++ 1 file changed, 2 insertions(+) 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;