diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2009-11-24 14:28:38 +0100 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2009-11-24 14:28:38 +0100 |
commit | 9ea65e5fa98ad56925d709d853a621de38cf1a71 (patch) | |
tree | f1258abebfddc53223b97ac54d52a750cc6eda78 /sql/sql_class.h | |
parent | 39703a1b933779436cbb2b0d2fcdd99a0864855b (diff) | |
download | mariadb-git-9ea65e5fa98ad56925d709d853a621de38cf1a71.tar.gz |
WL#5138, Fixed according to code review comments from Davi
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 2dd45997ee1..79e87a5ca3d 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -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; |