MySQL 8.4.2
Source Code Documentation
|
#include <sql_rewrite.h>
Public Member Functions | |
Rewriter_set_password (THD *thd, Consumer_type type, const Rewrite_params *params) | |
bool | rewrite (String &rlb) const override |
Rewrite the query for the SET PASSWORD statement. More... | |
Public Member Functions inherited from Rewriter_set | |
Rewriter_set (THD *thd, Consumer_type type) | |
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... | |
Private Types | |
using | parent = Rewriter_set |
Private Attributes | |
std::set< LEX_USER * > * | m_users = nullptr |
Additional Inherited Members | |
Protected Attributes inherited from I_rewriter | |
THD *const | m_thd |
Consumer_type | m_consumer_type |
|
private |
Rewriter_set_password::Rewriter_set_password | ( | THD * | thd, |
Consumer_type | type, | ||
const Rewrite_params * | params | ||
) |
|
overridevirtual |
Rewrite the query for the SET PASSWORD statement.
[in,out] | rlb | Buffer to return the rewritten query in. |
true | the query was rewritten |
false | otherwise |
Reimplemented from Rewriter_set.