diff options
author | sasha@mysql.sashanet.com <> | 2001-08-03 15:57:53 -0600 |
---|---|---|
committer | sasha@mysql.sashanet.com <> | 2001-08-03 15:57:53 -0600 |
commit | 09eda84f2e0a8e9475017b607f66efe2e63aca34 (patch) | |
tree | 7a15577166ddda4e7b8c9c9cb80471777aeb717b /sql/sql_class.h | |
parent | d4d22f21fd2723689ba8f7bb3c2e1f1bac8aa0c8 (diff) | |
download | mariadb-git-09eda84f2e0a8e9475017b607f66efe2e63aca34.tar.gz |
LOAD DATA INFILE is now replicated properly, except for cleanup on
Stop event and bugs the test suite could not catch
Did some big restructuring of binlog event classes - most important
change is that now each event class has exec_event method and one does
not need to modify slave core code to add a new event. Slave code is
now much smaller and easier to read
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 959460a6f4b..b22404b5b17 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -86,9 +86,7 @@ public: bool write(THD *thd, enum enum_server_command command,const char *format,...); bool write(THD *thd, const char *query, uint query_length, time_t query_start=0); - bool write(Query_log_event* event_info); // binary log write - bool write(Load_log_event* event_info); - bool write(Slave_log_event* event_info); + bool write(Log_event* event_info); // binary log write bool write(IO_CACHE *cache); int generate_new_name(char *new_name,const char *old_name); void make_log_name(char* buf, const char* log_ident); @@ -300,6 +298,8 @@ public: ulong slave_proxy_id; // in slave thread we need to know in behalf of which // thread the query is being run to replicate temp tables properly + NET* slave_net; // network connection from slave to master + THD(); ~THD(); bool store_globals(); |