1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-08 17:02:21 +03:00

WL#5138, Fixed according to code review comments from Davi

This commit is contained in:
Mikael Ronstrom
2009-11-24 14:28:38 +01:00
parent 9d625dca13
commit 4fd771cedc
6 changed files with 32 additions and 12 deletions

View File

@ -2324,10 +2324,13 @@ public:
virtual void set_statement(Statement *stmt);
/**
Assign a new value to thd->query.
Assign a new value to thd->query and thd->query_id.
Protected with LOCK_thd_data mutex.
*/
void set_query(char *query_arg, uint32 query_length_arg);
void set_query_and_id(char *query_arg, uint32 query_length_arg,
query_id_t new_query_id);
void set_query_id(query_id_t new_query_id);
private:
/** The current internal error handler for this thread, or NULL. */
Internal_error_handler *m_internal_handler;