1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

1. don't crash on failing to load a plugin with newer MYSQL_PLUGIN_INTERFACE_VERSION

2. don't copy st_mysql_plugin structure unnecessary (sizeof hasn't changed)
This commit is contained in:
Sergei Golubchik
2010-03-12 20:05:21 +01:00
parent edfd875fc1
commit 71b3e46b01
2 changed files with 32 additions and 27 deletions

View File

@ -63,7 +63,8 @@ struct st_plugin_dl
LEX_STRING dl;
void *handle;
struct st_mysql_plugin *plugins;
int version;
int version;
bool allocated;
uint ref_count; /* number of plugins loaded from the library */
};