summaryrefslogtreecommitdiff
path: root/storage/example/ha_example.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/example/ha_example.cc')
-rw-r--r--storage/example/ha_example.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/example/ha_example.cc b/storage/example/ha_example.cc
index caa64c10bbd..c723dcf648e 100644
--- a/storage/example/ha_example.cc
+++ b/storage/example/ha_example.cc
@@ -742,8 +742,8 @@ int ha_example::create(const char *name, TABLE *table_arg,
DBUG_RETURN(0);
}
-#ifdef MYSQL_PLUGIN
-mysql_declare_plugin
+
+mysql_declare_plugin(example)
{
MYSQL_STORAGE_ENGINE_PLUGIN,
&example_hton,
@@ -755,4 +755,4 @@ mysql_declare_plugin
0x0001 /* 0.1 */,
}
mysql_declare_plugin_end;
-#endif
+