diff options
author | lars@mysql.com/black.(none) <> | 2006-11-13 17:54:01 +0100 |
---|---|---|
committer | lars@mysql.com/black.(none) <> | 2006-11-13 17:54:01 +0100 |
commit | 7aa562ad2072e8e46c274de582beca3335906847 (patch) | |
tree | eb8d5b16379b7f3f8441562d0056a1f68808395e /sql/log_event.h | |
parent | c5d56416bacaf69f5730ad0b970706fb45c15f42 (diff) | |
parent | de01754c19c9eefff9a26975b7a232f82a123eb1 (diff) | |
download | mariadb-git-7aa562ad2072e8e46c274de582beca3335906847.tar.gz |
Merge mysql.com:/home/bk/MERGE/mysql-4.1-merge
into mysql.com:/home/bk/MERGE/mysql-5.0-merge
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sql/log_event.h b/sql/log_event.h index f1b441dedb1..b62a624ab33 100644 --- a/sql/log_event.h +++ b/sql/log_event.h @@ -200,8 +200,16 @@ struct sql_ex_info #define EXECUTE_LOAD_QUERY_EXTRA_HEADER_LEN (4 + 4 + 4 + 1) #define EXECUTE_LOAD_QUERY_HEADER_LEN (QUERY_HEADER_LEN + EXECUTE_LOAD_QUERY_EXTRA_HEADER_LEN) -/* - Event header offsets; +/* + Max number of possible extra bytes in a replication event compared to a + packet (i.e. a query) sent from client to master. +*/ +#define MAX_LOG_EVENT_HEADER (LOG_EVENT_HEADER_LEN + /* write_header */ \ + QUERY_HEADER_LEN + /* write_data */ \ + NAME_LEN + 1) + +/* + Event header offsets; these point to places inside the fixed header. */ |