You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS-10243 feature: Add data structures for GTID set operations (part 1) (#76)
https://perconadev.atlassian.net/browse/PS-10243
Changed the definition of the 'util::bounded_string_storage' - instead of being
'std::array<std::byte, N>', it is now
'boost::container::static_vector<std::byte, N>' which is more appropriate
because it holds real size in one of its members eliminating the necessity to
do 'strlen()' every time we want to use this data as a string.
This affected 'server_version' member in the FORMAT_DESCRIPTION event
post header and 'tag' in the the GTID_TAGGED_LOG event body.
In addition, changed the underlying container for storing 'binlog' member (file
name) in the ROTATE event body: instead of 'std::string', we now use
'boost::container::small_vector<std::byte, 64> which will let us avoid dynamic
allocations for file names up to 64 bytes.
0 commit comments