[MDEV-3492] LP:700982 - Non-portable code in client plugin (fails on ARM) Created: 2011-01-10 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Kristian Nielsen | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The sql-common/client_plugin.c has this code: static struct st_mysql_client_plugin * int mysql_client_plugin_init() struct st_mysql_client_plugin * This passes 0 for the va_list argument. This is not correct C, there is no An easy solution is to just declare and pass a dummy va_list instead; as argc [There is no code example in the source tree that actually uses the va_list arg static int init_dialog() mysql_declare_client_plugin(AUTHENTICATION) This BTW seems to be putting an int |
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2011-01-10 ] |
|
Re: Non-portable code in client plugin (fails on ARM) /home/esmil/mysql-5.5.8/sql-common/client_plugin.c: In function ‘mysql_client_plugin_init’: |
| Comment by Rasmus Johansson (Inactive) [ 2011-11-22 ] |
|
Re: Non-portable code in client plugin (fails on ARM) ---------------
|
| Comment by Rasmus Johansson (Inactive) [ 2012-06-15 ] |
|
Launchpad bug id: 700982 |