![]() |
MySQL 9.6.0
Source Code Documentation
|
Helper to decode format version and tsid count in formats v0, v1, v2. More...
#include <gtid_binary_format_conv.h>
Public Attributes | |
| mysql::strconv::Gtid_binary_format::Version | m_version |
| std::size_t | m_tsid_count |
Static Public Attributes | |
| static constexpr auto | version_mask = low_bits(8) |
| static constexpr auto | version_shift0 = 56 |
| static constexpr auto | version_shift1 = 0 |
| static constexpr auto | tsid_count_mask = low_bits(48) |
| static constexpr auto | tsid_count_shift0 = 0 |
| static constexpr auto | tsid_count_shift1 = 8 |
Helper to decode format version and tsid count in formats v0, v1, v2.
/// v0: /// tsid_count: 6 byte little-endian /// unused: 1 byte, value 0 /// version: 1 byte, value 0 /// v1 and v2: /// version: 1 byte, value 1 or 2 /// tsid_count: 6 byte, little-endian /// version: 1 byte, value 1 or 2 ///
| std::size_t mysql::gtids::detail::Gtid_set_header::m_tsid_count |
| mysql::strconv::Gtid_binary_format::Version mysql::gtids::detail::Gtid_set_header::m_version |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |