MySQL 9.1.0
Source Code Documentation
|
Rewrites the START GROUP_REPLICATION command. More...
#include <sql_rewrite.h>
Public Member Functions | |
Rewriter_start_group_replication (THD *thd, Consumer_type type) | |
bool | rewrite (String &rlb) const override |
Rewrite the query for the START GROUP_REPLICATION command. More... | |
Public Member Functions inherited from I_rewriter | |
I_rewriter (THD *thd, Consumer_type type) | |
virtual | ~I_rewriter () |
I_rewriter (const I_rewriter &)=delete | |
const I_rewriter & | operator= (const I_rewriter &)=delete |
I_rewriter (const I_rewriter &&)=delete | |
const I_rewriter & | operator= (const I_rewriter &&)=delete |
void | set_consumer_type (Consumer_type type) |
Reset the previous consumer type. More... | |
Consumer_type | consumer_type () |
Return the current consumer type set in the object. More... | |
Additional Inherited Members | |
Protected Attributes inherited from I_rewriter | |
THD *const | m_thd |
Consumer_type | m_consumer_type |
Rewrites the START GROUP_REPLICATION command.
Rewriter_start_group_replication::Rewriter_start_group_replication | ( | THD * | thd, |
Consumer_type | type | ||
) |
|
overridevirtual |
Rewrite the query for the START GROUP_REPLICATION command.
[in,out] | rlb | Buffer to return the rewritten query in. |
true | the query is rewritten |
Implements I_rewriter.