summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2005-10-24 23:09:14 +0200
committerunknown <lars@mysql.com>2005-10-24 23:09:14 +0200
commitf878f7bbe1ef3e6dda2510f804b91975b2d79cc4 (patch)
tree9dd61514f41ae908c5eab2f24aafb8927bcfbeb5 /sql/log_event.h
parent64d5a78cf8f27a5debfa65419c30c4f0f4025d4d (diff)
downloadmariadb-git-f878f7bbe1ef3e6dda2510f804b91975b2d79cc4.tar.gz
Fixed enum numbering, patch 2
sql/log_event.h: One enum value per line Fixed a mistake Added values to every line for strange compilers
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h32
1 files changed, 21 insertions, 11 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index a9b20adaa58..2fe0882d6a5 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -403,9 +403,17 @@ enum Log_event_type
Every time you update this enum (when you add a type), you have to
fix Format_description_log_event::Format_description_log_event().
*/
- UNKNOWN_EVENT= 0, START_EVENT_V3= 1, QUERY_EVENT= 2, STOP_EVENT= 3,
- ROTATE_EVENT= 4, INTVAR_EVENT= 5, LOAD_EVENT= 6, SLAVE_EVENT= 7,
- CREATE_FILE_EVENT= 8, APPEND_BLOCK_EVENT= 9, EXEC_LOAD_EVENT= 10,
+ UNKNOWN_EVENT= 0,
+ START_EVENT_V3= 1,
+ QUERY_EVENT= 2,
+ STOP_EVENT= 3,
+ ROTATE_EVENT= 4,
+ INTVAR_EVENT= 5,
+ LOAD_EVENT= 6,
+ SLAVE_EVENT= 7,
+ CREATE_FILE_EVENT= 8,
+ APPEND_BLOCK_EVENT= 9,
+ EXEC_LOAD_EVENT= 10,
DELETE_FILE_EVENT= 11,
/*
NEW_LOAD_EVENT is like LOAD_EVENT except that it has a longer
@@ -413,18 +421,20 @@ enum Log_event_type
same class (Load_log_event)
*/
NEW_LOAD_EVENT= 12,
- RAND_EVENT, USER_VAR_EVENT= 13,
- FORMAT_DESCRIPTION_EVENT= 14,
- XID_EVENT= 15,
- BEGIN_LOAD_QUERY_EVENT= 16,
- EXECUTE_LOAD_QUERY_EVENT= 17,
+ RAND_EVENT= 13,
+ USER_VAR_EVENT= 14,
+ FORMAT_DESCRIPTION_EVENT= 15,
+ XID_EVENT= 16,
+ BEGIN_LOAD_QUERY_EVENT= 17,
+ EXECUTE_LOAD_QUERY_EVENT= 18,
/*
- add new events here - right above this comment!
- existing events should never change their numbers
+ Add new events here - right above this comment!
+ And change the ENUM_END_EVENT_MARKER below.
+ Existing events should never change their numbers
*/
- ENUM_END_EVENT /* end marker */
+ ENUM_END_EVENT= 19 /* end marker */
};
/*