37 static int plugin_is_loaded = 0;
45 fprintf(stderr,
"Statistics for MySQL %s: "
46 "plugin loaded.\n", VERSION);
47 MersenneTwister::init();
58 fprintf(stderr,
"Statistics for MySQL %s: "
59 "plugin unloaded.\n", VERSION);
60 MersenneTwister::deinit();
71 return plugin_is_loaded;
Definition of functions for UDFs and plugins.
int sqlstat_plugin_deinit(void *p)
Deinitializes plugin.
Definitions for random number generations.
int sqlstat_plugin_init(void *p)
Initializes plugin.
Mersenne Twister random number generator.
int sqlstat_plugin_isloaded()
Check if plugin loaded.
Definition of structures needed to implement a plugin. sqlstat is implemented as a replication plugin...