undo the fix that breaks compilation on solaris

This commit is contained in:
Sergei Golubchik 2012-10-04 23:18:04 +02:00
parent 7077636ad4
commit a0d7bdddb7

View File

@ -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<void*>(debug_sync_C_callback_ptr);
list_of_services[5].service= *(void**)&debug_sync_C_callback_ptr;
mysql_mutex_lock(&LOCK_plugin);