CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
firefox: updated to 41.0
[ports/opt-arm.git] / mysql / valist.patch
... / ...
CommitLineData
1--- mysql-5.6.23/sql-common/client_plugin.c.orig 2015-04-02 13:08:28.255818357 +0200
2+++ mysql-5.6.23/sql-common/client_plugin.c 2015-04-02 13:11:57.325709613 +0200
3@@ -259,6 +259,7 @@
4 {
5 MYSQL mysql;
6 struct st_mysql_client_plugin **builtin;
7+ va_list dummy;
8
9 if (initialized)
10 return 0;
11@@ -275,7 +276,7 @@
12 mysql_mutex_lock(&LOCK_load_client_plugin);
13
14 for (builtin= mysql_client_builtins; *builtin; builtin++)
15- add_plugin_noargs(&mysql, *builtin, 0, 0);
16+ add_plugin_noargs(&mysql, *builtin, 0, 0, dummy);
17
18 mysql_mutex_unlock(&LOCK_load_client_plugin);
19
20@@ -319,6 +320,7 @@
21 mysql_client_register_plugin(MYSQL *mysql,
22 struct st_mysql_client_plugin *plugin)
23 {
24+ va_list dummy;
25 if (is_not_initialized(mysql, plugin->name))
26 return NULL;
27
28@@ -333,7 +335,7 @@
29 plugin= NULL;
30 }
31 else
32- plugin= add_plugin_noargs(mysql, plugin, 0, 0);
33+ plugin= add_plugin_noargs(mysql, plugin, 0, 0, dummy);
34
35 mysql_mutex_unlock(&LOCK_load_client_plugin);
36 return plugin;