summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.cc
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2006-01-01 23:13:16 +0100
committerunknown <knielsen@mysql.com>2006-01-01 23:13:16 +0100
commitb2168530d967db39d579437bc4493ef981ac897d (patch)
tree9bbcdf9bba092f2fd9c93ef82ac850513349e8d4 /sql/sql_plugin.cc
parent61d43a6ce5a534384aba76d6dda43bb7460e14dd (diff)
downloadmariadb-git-b2168530d967db39d579437bc4493ef981ac897d.tar.gz
Compile fixes for hpita2.
sql/sql_plugin.cc: Can't initialize char * from const char *, so add cast.
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r--sql/sql_plugin.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index 51e53252d84..3063f665564 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -23,9 +23,9 @@ char *opt_plugin_dir_ptr;
char opt_plugin_dir[FN_REFLEN];
LEX_STRING plugin_type_names[]=
{
- { STRING_WITH_LEN("UDF") },
- { STRING_WITH_LEN("STORAGE ENGINE") },
- { STRING_WITH_LEN("FTPARSER") }
+ { (char *)STRING_WITH_LEN("UDF") },
+ { (char *)STRING_WITH_LEN("STORAGE ENGINE") },
+ { (char *)STRING_WITH_LEN("FTPARSER") }
};
static const char *plugin_interface_version_sym=
"_mysql_plugin_interface_version_";