1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Bug #42144: plugin_load fails

The enum system variables were handled inconsistently 
as ints, unsigned int and unsigned long on various places.
This caused problems on platforms on which 
sizeof(int) != sizeof(long).
Fixed by homogenizing the type of the enum variables
to unsigned int, since it's size compatible with the C enum
type. 
Removed the test from the experimental list.
This commit is contained in:
Georgi Kodinov
2010-08-03 19:01:30 +03:00
parent 029bc22b67
commit 534e69338a
5 changed files with 18 additions and 15 deletions

View File

@ -848,7 +848,7 @@ int ha_example::create(const char *name, TABLE *table_arg,
struct st_mysql_storage_engine example_storage_engine=
{ MYSQL_HANDLERTON_INTERFACE_VERSION };
static ulong srv_enum_var= 0;
static uint srv_enum_var= 0;
static ulong srv_ulong_var= 0;
const char *enum_var_names[]=