summaryrefslogtreecommitdiff
path: root/sql/ha_myisam.cc
diff options
context:
space:
mode:
authoracurtis@xiphis.org <>2006-04-13 13:49:29 -0700
committeracurtis@xiphis.org <>2006-04-13 13:49:29 -0700
commit4e11a4d94199c710b0c7d0bf547157c14c480f19 (patch)
tree7d7b722a3af9812d173de1c5398f625484467670 /sql/ha_myisam.cc
parentb02463c15aea36ddcd5b4f7d0f5b4594b5c84f62 (diff)
downloadmariadb-git-4e11a4d94199c710b0c7d0bf547157c14c480f19.tar.gz
WL#3201
" Configure support for server plugins "
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r--sql/ha_myisam.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc
index ec39ee00efc..9a0a4a9896f 100644
--- a/sql/ha_myisam.cc
+++ b/sql/ha_myisam.cc
@@ -31,6 +31,8 @@
#include "../storage/myisam/rt_index.h"
#endif
+#include <mysql/plugin.h>
+
ulong myisam_recover_options= HA_RECOVER_NONE;
/* bits in myisam_recover_options */
@@ -1787,3 +1789,17 @@ bool ha_myisam::check_if_incompatible_data(HA_CREATE_INFO *info,
return COMPATIBLE_DATA_NO;
return COMPATIBLE_DATA_YES;
}
+
+
+mysql_declare_plugin(myisam)
+{
+ MYSQL_STORAGE_ENGINE_PLUGIN,
+ &myisam_hton,
+ myisam_hton.name,
+ "MySQL AB",
+ "MyISAM Storage Engine",
+ NULL, /* Plugin Init */
+ NULL, /* Plugin Deinit */
+ 0x0100 /* 1.0 */,
+}
+mysql_declare_plugin_end;