mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix debug assertion in Hyperscan
This commit is contained in:
parent
d93dad0ec3
commit
e5736c4c8d
2
contrib/hyperscan
vendored
2
contrib/hyperscan
vendored
@ -1 +1 @@
|
||||
Subproject commit 3907fd00ee8b2538739768fa9533f8635a276531
|
||||
Subproject commit e9f08df0213fc637aac0a5bbde9beeaeba2fe9fa
|
@ -168,7 +168,6 @@ namespace MultiRegexps
|
||||
hs_database_t * db = nullptr;
|
||||
hs_compile_error_t * compile_error;
|
||||
|
||||
|
||||
std::unique_ptr<unsigned int[]> ids;
|
||||
|
||||
/// We mark the patterns to provide the callback results.
|
||||
|
@ -0,0 +1,6 @@
|
||||
-- We throw our own exception from operator new.
|
||||
-- In previous versions of Hyperscan it triggered debug assertion as it only expected std::bad_alloc.
|
||||
|
||||
SET allow_hyperscan = 1;
|
||||
SET max_memory_usage = 4000000;
|
||||
SELECT [1, 2, 3, 11] = arraySort(multiMatchAllIndices('фабрикант', ['', 'рикан', 'а', 'f[ae]b[ei]rl', 'ф[иаэе]б[еэи][рпл]', 'афиукд', 'a[ft],th', '^ф[аиеэ]?б?[еэи]?$', 'берлик', 'fab', 'фа[беьв]+е?[рлко]'])); -- { serverError 241 }
|
Loading…
Reference in New Issue
Block a user