diff options
author | unknown <sasha@laptop.slkc.uswest.net> | 2000-11-11 14:50:39 -0700 |
---|---|---|
committer | unknown <sasha@laptop.slkc.uswest.net> | 2000-11-11 14:50:39 -0700 |
commit | 19d2e8ce98ed4f77f94f1cde422f3ace73f64315 (patch) | |
tree | 151539228a360db4526847582397a4c1edbdfa8d /sql/log_event.h | |
parent | d2ce6383e9c43589cfb900a7c49c04b20e05ac88 (diff) | |
download | mariadb-git-19d2e8ce98ed4f77f94f1cde422f3ace73f64315.tar.gz |
laptop commit, syncing with the repostitory. Fixed some bad bugs in replication
BUILD/compile-pentium-debug:
added -DEXTRA_DEBUG
sql/Makefile.am:
added slave.h
sql/log_event.h:
max_buf -> event_len in read_log_event
sql/mysql_priv.h:
moved the slave part to slave.h
sql/mysqld.cc:
changes for replcate_do/ignore_table ( does not work yet)
sql/slave.cc:
removed the stuff covered by slave.h
sql/sql_class.h:
moved slave stuff to slave.h
sql/sql_repl.h:
removed stuff covered by slave.h
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index 4b2739d1592..33fcab4fea9 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -93,7 +93,7 @@ public: // if mutex is 0, the read will proceed without mutex static Log_event* read_log_event(FILE* file, pthread_mutex_t* log_lock); - static Log_event* read_log_event(const char* buf, int max_buf); + static Log_event* read_log_event(const char* buf, int event_len); #ifndef MYSQL_CLIENT static int read_log_event(FILE* file, String* packet, @@ -133,7 +133,7 @@ public: #endif Query_log_event(FILE* file, time_t when, uint32 server_id); - Query_log_event(const char* buf, int max_buf); + Query_log_event(const char* buf, int event_len); ~Query_log_event() { if (data_buf) @@ -273,7 +273,7 @@ public: #endif Load_log_event(FILE* file, time_t when, uint32 server_id); - Load_log_event(const char* buf, int max_buf); + Load_log_event(const char* buf, int event_len); ~Load_log_event() { if (data_buf) @@ -398,7 +398,7 @@ public: {} Rotate_log_event(FILE* file, time_t when, uint32 server_id) ; - Rotate_log_event(const char* buf, int max_buf); + Rotate_log_event(const char* buf, int event_len); ~Rotate_log_event() { if (alloced) |