diff options
author | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-08-04 15:58:09 +0300 |
---|---|---|
committer | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-08-04 15:58:09 +0300 |
commit | b1a8b3aa6eb3f8f8c2df218e4eb25e4af710b66a (patch) | |
tree | 6d1cee70a8b083af4c8fb88a8fc9091d6e1e051e /storage/example | |
parent | 5eeb6488cf3973c3821aef10d40ed221985f9190 (diff) | |
download | mariadb-git-b1a8b3aa6eb3f8f8c2df218e4eb25e4af710b66a.tar.gz |
Bug #42144: plugin_load fails
Reverted the ulong->uint diff
Re-applied the first diff.
The original commit message follows:
enum plugin system variables are ulong internally, not int.
On systems where long is not the same as an int it causes
problems.
Fixed by correct typecasting. Removed the test from the
experimental list.
Diffstat (limited to 'storage/example')
-rw-r--r-- | storage/example/ha_example.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/example/ha_example.cc b/storage/example/ha_example.cc index 402be70efab..2a4fe538c85 100644 --- a/storage/example/ha_example.cc +++ b/storage/example/ha_example.cc @@ -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 uint srv_enum_var= 0; +static ulong srv_enum_var= 0; static ulong srv_ulong_var= 0; const char *enum_var_names[]= |