MySQL 9.0.0
Source Code Documentation
Rewriter_change_replication_source Class Referencefinal

Rewrites the CHANGE REPLICATION SOURCE statement. More...

#include <sql_rewrite.h>

Inheritance diagram for Rewriter_change_replication_source:
[legend]

Public Member Functions

 Rewriter_change_replication_source (THD *thd, Consumer_type)
 
bool rewrite (String &rlb) const override
 Rewrite the query for the CHANGE REPLICATION SOURCE statement. 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_rewriteroperator= (const I_rewriter &)=delete
 
 I_rewriter (const I_rewriter &&)=delete
 
const I_rewriteroperator= (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
 

Detailed Description

Rewrites the CHANGE REPLICATION SOURCE statement.

Constructor & Destructor Documentation

◆ Rewriter_change_replication_source()

Rewriter_change_replication_source::Rewriter_change_replication_source ( THD thd,
Consumer_type  type 
)

Member Function Documentation

◆ rewrite()

bool Rewriter_change_replication_source::rewrite ( String rlb) const
overridevirtual

Rewrite the query for the CHANGE REPLICATION SOURCE statement.

Parameters
[in,out]rlbBuffer to return the rewritten query in.
Return values
truethe query was rewritten
falseotherwise

Implements I_rewriter.


The documentation for this class was generated from the following files: