Fix for bug found with vio. Where mysql 5.1 ndb cluster uses a different struct from mysql 5.1.

This commit is contained in:
Guy Lichtman
2012-10-04 10:18:18 +02:00
parent e38bc05f0f
commit dac2dfc2a3
6 changed files with 1167 additions and 1160 deletions

View File

@@ -8,6 +8,10 @@
#define MYSQL_DYNAMIC_PLUGIN
#define MYSQL_SERVER 1
//Fix for VIO. We don't want to using method mapping as then a change in the struct will cause the offsets compiled with to
//be wrong. As is the case with ndb which uses a version of Vio with support for ipv6 similar to 5.5 but different from 5.1
#define DONT_MAP_VIO
#include <my_config.h>
#include <mysql_version.h>
//version 5.5.x doesn't contain mysql_priv.h . We need to add the includes provided by it.