diff options
author | Andrei Elkin <andrei.elkin@oracle.com> | 2013-03-26 20:52:01 +0200 |
---|---|---|
committer | Andrei Elkin <andrei.elkin@oracle.com> | 2013-03-26 20:52:01 +0200 |
commit | e8feb8d56a12fb23a97de12125af09053b0273cd (patch) | |
tree | d7043ad1ef189f46e706f1912732d133bb6da128 /sql/log_event.h | |
parent | 717c48258cf009b5b1633ba93d64e6249758bba1 (diff) | |
parent | 9eb64ec5c034c2935047a75773d754a4258c3832 (diff) | |
download | mariadb-git-e8feb8d56a12fb23a97de12125af09053b0273cd.tar.gz |
merge from 5.1
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index 84564877974..27d9047413a 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -2605,6 +2605,7 @@ public: uchar flags; #ifdef MYSQL_SERVER bool deferred; + query_id_t query_id; User_var_log_event(THD* thd_arg, char *name_arg, uint name_len_arg, char *val_arg, ulong val_len_arg, Item_result type_arg, uint charset_number_arg, uchar flags_arg) @@ -2629,7 +2630,11 @@ public: and which case the applier adjusts execution path. */ bool is_deferred() { return deferred; } - void set_deferred() { deferred= true; } + /* + In case of the deffered applying the variable instance is flagged + and the parsing time query id is stored to be used at applying time. + */ + void set_deferred(query_id_t qid) { deferred= true; query_id= qid; } #endif bool is_valid() const { return name != 0; } |