diff options
author | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-08-05 15:10:24 +0300 |
---|---|---|
committer | Georgi Kodinov <Georgi.Kodinov@Oracle.com> | 2010-08-05 15:10:24 +0300 |
commit | 7b3b8ae154da00cb35c067db62a2df57f0ea978f (patch) | |
tree | b9b3570dd00b9a46d8cb0ef4dc6056ee560cf260 /sql/sql_plugin.cc | |
parent | 0c81dcf332bd9b3e2a68354efab9bf6ea96df2d3 (diff) | |
download | mariadb-git-7b3b8ae154da00cb35c067db62a2df57f0ea978f.tar.gz |
Addendum to bug #42144 : fixed a wrong type conversation causing plugin tests
failures on sparc64.
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r-- | sql/sql_plugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc index a5640f5d80c..e0fc88c3068 100644 --- a/sql/sql_plugin.cc +++ b/sql/sql_plugin.cc @@ -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 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); |