summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-11-17 17:23:46 -0700
committersasha@mysql.sashanet.com <>2001-11-17 17:23:46 -0700
commit586e812452402de452b47751ec8b3121cb002e8f (patch)
treec21577a3e1e1590e9241dd9b406c046d31a17123 /sql/log_event.h
parentf89418b4e56de1d971838390a38f294805b1ac13 (diff)
downloadmariadb-git-586e812452402de452b47751ec8b3121cb002e8f.tar.gz
use env vars for socket/port in connect in mysqltest
--local-master option in mysql-test-run do not log CREATE TABLE when doing table dump fix replication to slave off 3.23 master
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 9f9bb46d221..329d748025d 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -105,6 +105,7 @@ struct sql_ex_info
/* event-specific post-header sizes */
#define LOG_EVENT_HEADER_LEN 19
+#define OLD_HEADER_LEN 13
#define QUERY_HEADER_LEN (4 + 4 + 1 + 2)
#define LOAD_HEADER_LEN (4 + 4 + 4 + 1 +1 + 4)
#define START_HEADER_LEN (2 + ST_SERVER_VER_LEN + 4)
@@ -378,7 +379,7 @@ public:
class Load_log_event: public Log_event
{
protected:
- int copy_log_event(const char *buf, ulong event_len);
+ int copy_log_event(const char *buf, ulong event_len, bool old_format);
public:
ulong thread_id;