mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 01:00:48 +00:00
Update basename.cpp
This commit is contained in:
parent
109726d533
commit
39b696f9df
@ -6,6 +6,10 @@
|
||||
namespace DB
|
||||
{
|
||||
|
||||
/** Extract substring after the last slash or backslash.
|
||||
* If there is no slashes, return the string unchanged.
|
||||
* It is used to extract filename from path.
|
||||
*/
|
||||
struct ExtractBasename
|
||||
{
|
||||
static size_t getReserveLengthForElement() { return 16; } /// Just a guess.
|
||||
|
Loading…
Reference in New Issue
Block a user