diff options
author | sasha@laptop.slkc.uswest.net <> | 2000-11-11 14:50:39 -0700 |
---|---|---|
committer | sasha@laptop.slkc.uswest.net <> | 2000-11-11 14:50:39 -0700 |
commit | a25aed33d99463413c0b8e501afc70eeb96efe15 (patch) | |
tree | 151539228a360db4526847582397a4c1edbdfa8d /sql/log_event.h | |
parent | f325f5fc7fa2f6dd77ceb4ae901c20c1726b5e24 (diff) | |
download | mariadb-git-a25aed33d99463413c0b8e501afc70eeb96efe15.tar.gz |
laptop commit, syncing with the repostitory. Fixed some bad bugs in replication
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) |