summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.cc
diff options
context:
space:
mode:
authorunknown <brian@zim.tangent.org>2006-02-17 16:06:08 -0800
committerunknown <brian@zim.tangent.org>2006-02-17 16:06:08 -0800
commit9dadc39fb5d718381c70aaca0721be8c76a45160 (patch)
tree3bf21c8b142a7ed9a6791459c4f97699f60545ae /sql/sql_plugin.cc
parent338707ad48cca0be413c57e45712aa37efdf6817 (diff)
parentf34a66deb7aab530bf858b4f1e32e1be511dd592 (diff)
downloadmariadb-git-9dadc39fb5d718381c70aaca0721be8c76a45160.tar.gz
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into zim.tangent.org:/home/brian/mysql/dep-5.1 sql/sql_plugin.cc: SCCS merged
Diffstat (limited to 'sql/sql_plugin.cc')
-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;
}