diff options
author | unknown <brian@zim.(none)> | 2006-11-19 18:01:54 -0800 |
---|---|---|
committer | unknown <brian@zim.(none)> | 2006-11-19 18:01:54 -0800 |
commit | 7d6b4a1ab06b22505a68334aeae0204cf0e4bb7a (patch) | |
tree | 5a1d28bf16e44e62244be8effd391e8ebe3c51bc /plugin | |
parent | 3e0eee1d7b530df3d4685acea74d1a8bb139e558 (diff) | |
download | mariadb-git-7d6b4a1ab06b22505a68334aeae0204cf0e4bb7a.tar.gz |
Refactored a number of engines to have correct init/deinit. Added pass support for "data" from plugin to plugin generic init to use memory location.
plugin/daemon_example/plug.in:
Switched the plug.in type (corrected)
sql/handler.h:
Added data pointer to use for engines.
sql/sql_plugin.cc:
Passing plugin to generic handlers to allow them to add data to "data"
storage/archive/ha_archive.cc:
Refactored. Now uses less logic for startup/shutdown.
storage/csv/ha_tina.cc:
Refactored init/deinit to use less code.
storage/example/ha_example.cc:
Refactored example to show correct behavior for init/deinit.
storage/example/ha_example.h:
Removed unneeded references to methods that do not need to be implemened.
storage/federated/ha_federated.cc:
Refactored to use less code and startup/shutdown correctly.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/daemon_example/plug.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/daemon_example/plug.in b/plugin/daemon_example/plug.in index fecca83acd2..72e87a70f59 100644 --- a/plugin/daemon_example/plug.in +++ b/plugin/daemon_example/plug.in @@ -1,3 +1,3 @@ -MYSQL_STORAGE_ENGINE(daemon_example,,[Daemon Example Plugin], - [This is an example plugin daemon.], [max,max-no-ndb]) +MYSQL_PLUGIN(daemon_example,[Daemon Example Plugin], + [This is an example plugin daemon.]) MYSQL_PLUGIN_DYNAMIC(daemon_example, [libdaemon_example.la]) |