mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -6899,11 +6899,12 @@ void dbug_serve_apcs(THD *thd, int n_calls);
|
||||
class ScopedStatementReplication
|
||||
{
|
||||
public:
|
||||
ScopedStatementReplication(THD *thd) : thd(thd)
|
||||
{
|
||||
if (thd)
|
||||
saved_binlog_format= thd->set_current_stmt_binlog_format_stmt();
|
||||
}
|
||||
ScopedStatementReplication(THD *thd) :
|
||||
saved_binlog_format(thd
|
||||
? thd->set_current_stmt_binlog_format_stmt()
|
||||
: BINLOG_FORMAT_MIXED),
|
||||
thd(thd)
|
||||
{}
|
||||
~ScopedStatementReplication()
|
||||
{
|
||||
if (thd)
|
||||
@ -6911,8 +6912,8 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
enum_binlog_format saved_binlog_format;
|
||||
THD *thd;
|
||||
const enum_binlog_format saved_binlog_format;
|
||||
THD *const thd;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user