From a0d7bdddb733afd89c6a4aac9c0c345308da958c Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 4 Oct 2012 23:18:04 +0200 Subject: [PATCH] undo the fix that breaks compilation on solaris --- sql/sql_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc index 5cb46d0f7ef..1059103086a 100644 --- a/sql/sql_plugin.cc +++ b/sql/sql_plugin.cc @@ -1531,7 +1531,7 @@ int plugin_init(int *argc, char **argv, int flags) /* prepare debug_sync service */ DBUG_ASSERT(strcmp(list_of_services[5].name, "debug_sync_service") == 0); - list_of_services[5].service= reinterpret_cast(debug_sync_C_callback_ptr); + list_of_services[5].service= *(void**)&debug_sync_C_callback_ptr; mysql_mutex_lock(&LOCK_plugin);