Commit b6547d09 authored by unknown's avatar unknown

More Win32 byte* vs. char* fixes.

parent 27555e54
...@@ -208,14 +208,14 @@ static struct st_plugin_int *plugin_find_internal(LEX_STRING *name, int type) ...@@ -208,14 +208,14 @@ static struct st_plugin_int *plugin_find_internal(LEX_STRING *name, int type)
for (i= 0; i < MYSQL_MAX_PLUGIN_TYPE_NUM; i++) for (i= 0; i < MYSQL_MAX_PLUGIN_TYPE_NUM; i++)
{ {
struct st_plugin_int *plugin= (st_plugin_int *) struct st_plugin_int *plugin= (st_plugin_int *)
hash_search(&plugin_hash[i], name->str, name->length); hash_search(&plugin_hash[i], (const byte *)name->str, name->length);
if (plugin) if (plugin)
DBUG_RETURN(plugin); DBUG_RETURN(plugin);
} }
} }
else else
DBUG_RETURN((st_plugin_int *) DBUG_RETURN((st_plugin_int *)
hash_search(&plugin_hash[type], name->str, name->length)); hash_search(&plugin_hash[type], (const byte *)name->str, name->length));
DBUG_RETURN(0); DBUG_RETURN(0);
} }
......
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