Bug #60746 client_plugin.h is broken
Submitted: 3 Apr 2011 22:24 Modified: 28 Apr 2011 15:43
Reporter: Sergei Golubchik Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Pluggable Authentication Severity:S3 (Non-critical)
Version:5.5 OS:Any
Assigned to: CPU Architecture:Any

[3 Apr 2011 22:24] Sergei Golubchik
client_plugin.h is not self-contained.

#include <mysql/client_plugin.h>

fails with

mysql-5.5/include/mysql/client_plugin.h:159: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mysql_plugin_options'

as a workaround, one can add

#define STDCALL

before the #include.

How to repeat:
[4 Apr 2011 3:21] Valeriy Kravchuk
Thank you for the bug report. Verified by code review.
[28 Apr 2011 15:43] Paul DuBois
Noted in 5.5.13, 5.6.3 changelogs.

An internal client macro reference was removed from the
client_plugin.h header file. This reference made the file unusable.

CHANGESET - http://lists.mysql.com/commits/136283