|
typedef std::pair< const std::string, const std::string > | map_key |
|
typedef std::map< const map_key, plugin::Plugin * > | map |
|
typedef std::vector< Plugin * > | vector |
|
|
| Logging_query (const std::string &filename, const std::string &query_pcre) |
|
bool | setFileName (std::string new_filename) |
|
bool | setPCRE (std::string new_pcre) |
|
std::string & | getFileName () |
|
std::string & | getPCRE () |
|
virtual bool | post (Session *session) |
|
virtual bool | pre (Session *) |
|
virtual bool | postEnd (Session *) |
|
virtual bool | resetGlobalScoreboard () |
|
virtual void | shutdownPlugin () |
|
virtual void | prime () |
|
virtual void | startup (drizzled::Session &) |
|
void | activate () |
|
void | deactivate () |
|
bool | isActive () const |
|
const std::string & | getName () const |
|
void | setModule (module::Module *module) |
|
const std::string & | getTypeName () const |
|
virtual bool | removeLast () const |
|
const std::string & | getModuleName () const |
|
|
static bool | addPlugin (Logging *handler) |
|
static void | removePlugin (Logging *handler) |
|
static bool | preDo (Session *session) |
|
static bool | postDo (Session *session) |
|
static bool | postEndDo (Session *session) |
|
static bool | resetStats (Session *session) |
|
|
std::string | sysvar_filename |
|
std::string | sysvar_pcre |
|
int | fd |
|
pcre * | re |
|
pcre_extra * | pe |
|
boost::format | formatter |
|
Definition at line 153 of file logging_query.cc.
std::string& drizzle_plugin::logging_query::Logging_query::getFileName |
( |
| ) |
|
|
inline |
Getter for query log filename
- Returns
- sysvar_filename
Definition at line 265 of file logging_query.cc.
std::string& drizzle_plugin::logging_query::Logging_query::getPCRE |
( |
| ) |
|
|
inline |
virtual bool drizzled::plugin::Logging::pre |
( |
Session * |
| ) |
|
|
inlinevirtualinherited |
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 207 of file logging_query.cc.
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 235 of file logging_query.cc.
boost::format drizzle_plugin::logging_query::Logging_query::formatter |
|
private |
The documentation for this class was generated from the following file: