Commit b2168530 authored by unknown's avatar unknown

Compile fixes for hpita2.


sql/sql_plugin.cc:
  Can't initialize char * from const char *, so add cast.
parent 61d43a6c
...@@ -23,9 +23,9 @@ char *opt_plugin_dir_ptr; ...@@ -23,9 +23,9 @@ char *opt_plugin_dir_ptr;
char opt_plugin_dir[FN_REFLEN]; char opt_plugin_dir[FN_REFLEN];
LEX_STRING plugin_type_names[]= LEX_STRING plugin_type_names[]=
{ {
{ STRING_WITH_LEN("UDF") }, { (char *)STRING_WITH_LEN("UDF") },
{ STRING_WITH_LEN("STORAGE ENGINE") }, { (char *)STRING_WITH_LEN("STORAGE ENGINE") },
{ STRING_WITH_LEN("FTPARSER") } { (char *)STRING_WITH_LEN("FTPARSER") }
}; };
static const char *plugin_interface_version_sym= static const char *plugin_interface_version_sym=
"_mysql_plugin_interface_version_"; "_mysql_plugin_interface_version_";
......
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