diff options
Diffstat (limited to 'storage/innobase/include/ut0ut.h')
-rw-r--r-- | storage/innobase/include/ut0ut.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/storage/innobase/include/ut0ut.h b/storage/innobase/include/ut0ut.h index 369f3f8c5d3..b7625b512a2 100644 --- a/storage/innobase/include/ut0ut.h +++ b/storage/innobase/include/ut0ut.h @@ -1,7 +1,7 @@ /***************************************************************************** Copyright (c) 1994, 2016, Oracle and/or its affiliates. All Rights Reserved. -Copyright (c) 2019, 2020, MariaDB Corporation. +Copyright (c) 2019, 2021, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -276,25 +276,6 @@ ut_strerr( #endif /* !UNIV_INNOCHECKSUM */ -#ifdef UNIV_PFS_MEMORY - -/** Extract the basename of a file without its extension. -For example, extract "foo0bar" out of "/path/to/foo0bar.cc". -@param[in] file file path, e.g. "/path/to/foo0bar.cc" -@param[out] base result, e.g. "foo0bar" -@param[in] base_size size of the output buffer 'base', if there -is not enough space, then the result will be truncated, but always -'\0'-terminated -@return number of characters that would have been printed if the size -were unlimited (not including the final ‘\0’) */ -size_t -ut_basename_noext( - const char* file, - char* base, - size_t base_size); - -#endif /* UNIV_PFS_MEMORY */ - namespace ib { /** This is a wrapper class, used to print any unsigned integer type |