summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <gluh@gluh.mysql.r18.ru>2003-01-30 21:39:54 +0400
committerunknown <gluh@gluh.mysql.r18.ru>2003-01-30 21:39:54 +0400
commit6828a4c0a1196a3931fd9c6bbc6d958b17535ccf (patch)
tree83f6e561c259e940868d286dca7da1854a1fd00d /sql/sql_class.h
parentef62b4c948d68108c0945ebde33540b03b392a6d (diff)
downloadmariadb-git-6828a4c0a1196a3931fd9c6bbc6d958b17535ccf.tar.gz
'Replicate user variables' task
include/my_sys.h: Addet reset_dinamic BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
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 bc72e6324e9..5b50da1ebac 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 {
@@ -511,6 +520,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
@@ -896,7 +907,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;
};