Commit 7b3b8ae1 authored by Georgi Kodinov's avatar Georgi Kodinov

Addendum to bug #42144 : fixed a wrong type conversation causing plugin tests

failures on sparc64.
parent 0c81dcf3
...@@ -3319,7 +3319,7 @@ static int test_plugin_options(MEM_ROOT *tmp_root, struct st_plugin_int *tmp, ...@@ -3319,7 +3319,7 @@ static int test_plugin_options(MEM_ROOT *tmp_root, struct st_plugin_int *tmp,
Set plugin loading policy from option value. First element in the option Set plugin loading policy from option value. First element in the option
list is always the <plugin name> option value. list is always the <plugin name> option value.
*/ */
plugin_load_policy= (enum_plugin_load_policy)*(uint*)opts[0].value; plugin_load_policy= (enum_plugin_load_policy)*(ulong*)opts[0].value;
} }
disable_plugin= (plugin_load_policy == PLUGIN_OFF); disable_plugin= (plugin_load_policy == PLUGIN_OFF);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment