mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
merge from 5.1
This commit is contained in:
@ -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; }
|
||||
|
||||
|
Reference in New Issue
Block a user