List of all members.
Constructor & Destructor Documentation
Create a new event using the GTID from the given Gtid_specification, or from @SESSION.GTID_NEXT if spec==NULL.
Member Function Documentation
Return the SID for this GTID. The SID is shared with the Log_event so it should not be modified.
Return the SIDNO relative to the global sid_map for this GTID.
This requires a lookup and possibly even update of global_sid_map, hence global_sid_lock must be held. If global_sid_lock is not held, the caller must pass need_lock=true. If there is an error (e.g. out of memory) while updating global_sid_map, this function returns a negative number.
- Parameters:
-
need_lock | If true, the read lock on global_sid_lock is acquired and released inside this function; if false, the read lock or write lock must be held prior to calling this function. |
- Return values:
-
SIDNO | if successful |
negative | if adding SID to global_sid_map causes an error. |
Return the SIDNO relative to the given Sid_map for this GTID.
This assumes that the Sid_map is local to the thread, and thus does not use locks.
- Parameters:
-
sid_map | The sid_map to use. |
- Return values:
-
SIDNO | if successful. if adding SID to sid_map causes an error. |
Return the group type for this Gtid_log_event: this can be either ANONYMOUS_GROUP, AUTOMATIC_GROUP, or GTID_GROUP.
Member Data Documentation
Initial value:
ENCODED_FLAG_LENGTH + ENCODED_SID_LENGTH + ENCODED_GNO_LENGTH
Total length of post header.
The documentation for this class was generated from the following files: