summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.cc
diff options
context:
space:
mode:
authorandrey@example.com <>2006-08-17 18:13:45 +0200
committerandrey@example.com <>2006-08-17 18:13:45 +0200
commit081b865936cfd5f6470da6cd25e0478fb4ff5fd1 (patch)
tree1b6de6ea99f735fd5a50c1095fbb35d759d237b0 /sql/sql_plugin.cc
parent81efea724ed497f602051bad3aad0bd57d2e4223 (diff)
downloadmariadb-git-081b865936cfd5f6470da6cd25e0478fb4ff5fd1.tar.gz
Cleanup patch.
There is an existing macros for initializing LEX_STRINGs with constant strings -> C_STRING_WITH_LEN. Change existing code to use it. (char *) STRING_WITH_LEN -> C_STRING_WITH_LEN
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 f7205470abd..8dc00908fc5 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -25,9 +25,9 @@ char *opt_plugin_dir_ptr;
char opt_plugin_dir[FN_REFLEN];
const LEX_STRING plugin_type_names[MYSQL_MAX_PLUGIN_TYPE_NUM]=
{
- { (char *)STRING_WITH_LEN("UDF") },
- { (char *)STRING_WITH_LEN("STORAGE ENGINE") },
- { (char *)STRING_WITH_LEN("FTPARSER") }
+ { C_STRING_WITH_LEN("UDF") },
+ { C_STRING_WITH_LEN("STORAGE ENGINE") },
+ { C_STRING_WITH_LEN("FTPARSER") }
};
plugin_type_init plugin_type_initialize[MYSQL_MAX_PLUGIN_TYPE_NUM]=