![]() |
MySQL 8.0.43
Source Code Documentation
|
A macro that gives FILE without the directory name (e.g. More...
Go to the source code of this file.
Macros | |
| #define | MY_BASENAME (&__FILE__[basename_index(__FILE__, sizeof(__FILE__) - 1)]) |
| #define | LOG_SUBSYSTEM_TAG |
Functions | |
| static constexpr int | basename_index (const char *const path, const int index) |
| constexpr const char * | basename_prefix_eval (const char *const path) |
| constexpr int | basename_prefix_find (const char *const path, const int index) |
A macro that gives FILE without the directory name (e.g.
foo.cc instead of ../sql/foo.cc), calculated compile-time. Note that the entire FILE string is still present in the binary; only the pointer is adjusted.
| #define LOG_SUBSYSTEM_TAG |
| #define MY_BASENAME (&__FILE__[basename_index(__FILE__, sizeof(__FILE__) - 1)]) |
|
staticconstexpr |
|
constexpr |
|
constexpr |