mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Added a comment #11949
This commit is contained in:
parent
01344d7b87
commit
875369676f
@ -54,6 +54,10 @@ namespace Regexps
|
|||||||
return {likePatternToRegexp(pattern), flags};
|
return {likePatternToRegexp(pattern), flags};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Returns holder of an object from Pool.
|
||||||
|
* You must hold the ownership while using the object.
|
||||||
|
* In destructor, it returns the object back to the Pool for further reuse.
|
||||||
|
*/
|
||||||
template <bool like, bool no_capture>
|
template <bool like, bool no_capture>
|
||||||
inline Pool::Pointer get(const std::string & pattern)
|
inline Pool::Pointer get(const std::string & pattern)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user