MySQL 8.0.40
Source Code Documentation
|
Class used to increase an atomic value when UDF functions are being initialized. More...
#include <udf_utils.h>
Public Member Functions | |
UDF_counter () | |
~UDF_counter () | |
void | succeeded () |
Static Public Member Functions | |
static void | terminated () |
static bool | is_zero () |
Static Public Attributes | |
static std::atomic< int > | number_udfs_running |
Private Attributes | |
bool | success |
Class used to increase an atomic value when UDF functions are being initialized.
If initialization fails the value will be decreased.
number_udfs_running works together with plugin_is_stopping so when group replication is stopping, all new udf will fail to start and server will wait for the running ones to finish.
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
static |
|
private |