Commit 5a7f36fb authored by brian@zim.(none)'s avatar brian@zim.(none)

Merge zim.(none):/home/bk/mysql-5.1-arch

into  zim.(none):/home/brian/mysql/mysql-5.1-arch
parents 78da884e b41a97fa
...@@ -79,6 +79,10 @@ ...@@ -79,6 +79,10 @@
ha_example::open() would also have been necessary. Calls to ha_example::open() would also have been necessary. Calls to
ha_example::extra() are hints as to what will be occuring to the request. ha_example::extra() are hints as to what will be occuring to the request.
A Longer Example can be found called the "Skeleton Engine" which can be
found on TangentOrg. It has both an engine and a full build environment
for building a pluggable storage engine.
Happy coding!<br> Happy coding!<br>
-Brian -Brian
*/ */
...@@ -132,7 +136,6 @@ static int example_init_func(void *p) ...@@ -132,7 +136,6 @@ static int example_init_func(void *p)
(hash_get_key) example_get_key,0,0); (hash_get_key) example_get_key,0,0);
example_hton->state= SHOW_OPTION_YES; example_hton->state= SHOW_OPTION_YES;
example_hton->db_type= DB_TYPE_EXAMPLE_DB;
example_hton->create= example_create_handler; example_hton->create= example_create_handler;
example_hton->flags= HTON_CAN_RECREATE; example_hton->flags= HTON_CAN_RECREATE;
......
MYSQL_STORAGE_ENGINE(example,, [Example Storage Engine], MYSQL_STORAGE_ENGINE(example,, [Example Storage Engine],
[Skeleton for Storage Engines for developers], [max,max-no-ndb]) [Example for Storage Engines for developers], [max,max-no-ndb])
MYSQL_PLUGIN_DYNAMIC(example, [ha_example.la]) MYSQL_PLUGIN_DYNAMIC(example, [ha_example.la])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment