MySQL 8.4.2
Source Code Documentation
|
#include <algorithm>
#include "binlog.h"
#include "mysqld.h"
#include "nulls.h"
#include "sql/rpl_gtid.h"
#include "sql/rpl_msr.h"
Functions | |
std::ostream & | operator<< (std::ostream &oss, Gtid_mode::value_type const &mode) |
std::ostream & | operator<< (std::ostream &oss, Gtid_mode const &mode) |
Typically, code will print Gtid_mode only after reading and acting on the enum value. More... | |
Variables | |
Gtid_mode | global_gtid_mode |
The one and only instance of Gtid_mode. More... | |
std::ostream & operator<< | ( | std::ostream & | oss, |
Gtid_mode const & | mode | ||
) |
Typically, code will print Gtid_mode only after reading and acting on the enum value.
Then it is better to print the enum value than to read the shared resource again. Hence we enable this only in debug mode, since it makes more sense to just get the string when doing a debug printout.
std::ostream & operator<< | ( | std::ostream & | oss, |
Gtid_mode::value_type const & | mode | ||
) |
Gtid_mode global_gtid_mode |
The one and only instance of Gtid_mode.
All access to @global.gtid_mode should use this object.