1 Based on Arnaud Patard patch for mysql 5.5.8
2 ===================================================================
3 --- mysql-5.5.16/sql-common/client_plugin.c 2011-09-30 13:09:10.709154000 +0200
4 +++ mysql-5.5.16/sql-common/client_plugin_new.c 2011-09-30 13:11:53.753154000 +0200
8 struct st_mysql_client_plugin **builtin;
14 pthread_mutex_lock(&LOCK_load_client_plugin);
16 for (builtin= mysql_client_builtins; *builtin; builtin++)
17 - add_plugin(&mysql, *builtin, 0, 0, 0);
18 + add_plugin(&mysql, *builtin, 0, 0, dummy);
20 pthread_mutex_unlock(&LOCK_load_client_plugin);
23 mysql_client_register_plugin(MYSQL *mysql,
24 struct st_mysql_client_plugin *plugin)
27 if (is_not_initialized(mysql, plugin->name))
34 - plugin= add_plugin(mysql, plugin, 0, 0, 0);
35 + plugin= add_plugin(mysql, plugin, 0, 0, dummy);
37 pthread_mutex_unlock(&LOCK_load_client_plugin);