|
| bool | compilePCRE (const std::string &pattern, pcre2_code **compiled_re, bool *jit_ready) |
| int | matchPCRE (const std::string &subject) |
Definition at line 154 of file logging_query.cc.
◆ Logging_query()
| drizzle_plugin::logging_query::Logging_query::Logging_query |
( |
const std::string & | filename, |
|
|
const std::string & | query_pcre ) |
|
inline |
◆ ~Logging_query()
| drizzle_plugin::logging_query::Logging_query::~Logging_query |
( |
| ) |
|
|
inline |
◆ compilePCRE()
| bool drizzle_plugin::logging_query::Logging_query::compilePCRE |
( |
const std::string & | pattern, |
|
|
pcre2_code ** | compiled_re, |
|
|
bool * | jit_ready ) |
|
inlineprivate |
◆ getFileName()
| std::string & drizzle_plugin::logging_query::Logging_query::getFileName |
( |
| ) |
|
|
inline |
Getter for query log filename
- Returns
- sysvar_filename
Definition at line 348 of file logging_query.cc.
◆ getPCRE()
| std::string & drizzle_plugin::logging_query::Logging_query::getPCRE |
( |
| ) |
|
|
inline |
◆ matchPCRE()
| int drizzle_plugin::logging_query::Logging_query::matchPCRE |
( |
const std::string & | subject | ) |
|
|
inlineprivate |
◆ post()
| virtual bool drizzle_plugin::logging_query::Logging_query::post |
( |
Session * | session | ) |
|
|
inlinevirtual |
◆ setFileName()
| bool drizzle_plugin::logging_query::Logging_query::setFileName |
( |
std::string | new_filename | ) |
|
|
inline |
This function changes the current query log file to the parameter passed to the function.
- Returns
- True on success, False on error.
Definition at line 281 of file logging_query.cc.
◆ setPCRE()
| bool drizzle_plugin::logging_query::Logging_query::setPCRE |
( |
std::string | new_pcre | ) |
|
|
inline |
This function updates the current regex expression with the new regex expression passed as parameter.
- Returns
- True on success, False on error.
Definition at line 309 of file logging_query.cc.
◆ fd
| int drizzle_plugin::logging_query::Logging_query::fd |
|
private |
◆ formatter
| boost::format drizzle_plugin::logging_query::Logging_query::formatter |
|
private |
◆ pcre_lock
| pthread_mutex_t drizzle_plugin::logging_query::Logging_query::pcre_lock |
|
private |
◆ re
| pcre2_code* drizzle_plugin::logging_query::Logging_query::re |
|
private |
◆ re_jit_ready
| bool drizzle_plugin::logging_query::Logging_query::re_jit_ready |
|
private |
◆ sysvar_filename
| std::string drizzle_plugin::logging_query::Logging_query::sysvar_filename |
|
private |
◆ sysvar_pcre
| std::string drizzle_plugin::logging_query::Logging_query::sysvar_pcre |
|
private |
The documentation for this class was generated from the following file: