summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2003-01-31 09:43:53 +0400
committerunknown <gluh@gluh.mysql.r18.ru>2003-01-31 09:43:53 +0400
commit071aec5c45258c136d72f903f1dd5335d46bd423 (patch)
treec1bdb67886529690cc8dbaceb225f81dacda0474 /sql/sql_class.h
parent65a4b622e88d238ff9c082e9e2d79895618af806 (diff)
parent6828a4c0a1196a3931fd9c6bbc6d958b17535ccf (diff)
downloadmariadb-git-071aec5c45258c136d72f903f1dd5335d46bd423.tar.gz
conflicts resolving
BitKeeper/etc/logging_ok: auto-union include/my_sys.h: Auto merged sql/item_func.cc: Auto merged sql/log.cc: Auto merged sql/log_event.h: Auto merged sql/sql_class.cc: Auto merged sql/sql_class.h: Auto merged sql/log_event.cc: merged sql/sql_parse.cc: merged
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 73264ae14da..1614420aa1b 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -57,6 +57,15 @@ typedef struct st_log_info
~st_log_info() { pthread_mutex_destroy(&lock);}
} LOG_INFO;
+typedef struct st_user_var_events
+{
+ user_var_entry *user_var_event;
+ char *value;
+ ulong length;
+ Item_result type;
+ uint charset_number;
+} BINLOG_USER_VAR_EVENT;
+
class Log_event;
class MYSQL_LOG {
@@ -524,6 +533,8 @@ public:
uint check_loops_counter; //last id used to check loops
/* variables.transaction_isolation is reset to this after each commit */
enum_tx_isolation session_tx_isolation;
+ /* for user variables replication*/
+ DYNAMIC_ARRAY user_var_events;
// extend scramble to handle new auth
char scramble[SCRAMBLE41_LENGTH+1];
// old scramble is needed to handle old clients
@@ -915,7 +926,7 @@ class user_var_entry
public:
LEX_STRING name;
char *value;
- ulong length, update_query_id;
+ ulong length, update_query_id, used_query_id;
Item_result type;
CHARSET_INFO *var_charset;
};