MySQL 9.1.0
Source Code Documentation
|
Error handler for filesort. More...
Public Member Functions | |
Filesort_error_handler (THD *thd) | |
Create an error handler and push it onto the error handler stack. More... | |
~Filesort_error_handler () override | |
Pop the error handler from the error handler stack, and destroy it. More... | |
bool | handle_condition (THD *, uint sql_errno, const char *, Sql_condition::enum_severity_level *level, const char *) override |
Handle a condition. More... | |
Private Attributes | |
THD * | m_thd |
The THD in which filesort is executed. More... | |
bool | m_seen_not_supported |
Has a not supported warning has been seen? More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Internal_error_handler | |
Internal_error_handler () | |
Internal_error_handler * | prev_internal_handler () const |
virtual | ~Internal_error_handler ()=default |
Error handler for filesort.
|
inline |
Create an error handler and push it onto the error handler stack.
The handler will be automatically popped from the error handler stack when it is destroyed.
|
inlineoverride |
Pop the error handler from the error handler stack, and destroy it.
|
inlineoverridevirtual |
Handle a condition.
The handler will make sure that no more than a single ER_NOT_SUPPORTED_YET warning will be seen by the higher layers. This warning is generated by Json_wrapper::make_sort_key() for every value that it doesn't know how to create a sort key for. It is sufficient for the higher layers to report this warning only once per sort.
Implements Internal_error_handler.
|
private |
Has a not supported warning has been seen?
|
private |
The THD in which filesort is executed.