Skip to content

Commit

Permalink
DO NOT MERGE: Poison re2
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Mar 24, 2024
1 parent 8629f96 commit 4e74a02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/duckdb/third_party/re2/re2/re2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4e74a02

Please sign in to comment.