summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrian@zim.tangent.org <>2006-02-17 16:06:08 -0800
committerbrian@zim.tangent.org <>2006-02-17 16:06:08 -0800
commite4ce125d79af78267b99efd5d1ac93a41e6ada9b (patch)
tree3bf21c8b142a7ed9a6791459c4f97699f60545ae
parent5659853f3cc39817be52654e639a27ce12c05f39 (diff)
parent3ea4f67f5b0397a8ddeb685c1bf94bc2926706fa (diff)
downloadmariadb-git-e4ce125d79af78267b99efd5d1ac93a41e6ada9b.tar.gz
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into zim.tangent.org:/home/brian/mysql/dep-5.1
-rw-r--r--sql/sql_plugin.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index 199cf4a6264..2046596c428 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -526,15 +526,8 @@ static int plugin_initialize(struct st_plugin_int *plugin)
switch (plugin->plugin->type)
{
case MYSQL_STORAGE_ENGINE_PLUGIN:
- if (ha_initialize_handlerton((handlerton*) plugin->plugin->info))
- {
- sql_print_error("Plugin '%s' handlerton init returned error.",
- plugin->name.str);
- DBUG_PRINT("warning", ("Plugin '%s' handlerton init returned error.",
- plugin->name.str));
- goto err;
- }
- break;
+ sql_print_error("Storage Engine plugins are unsupported in this version.");
+ goto err;
default:
break;
}