Commit 6cbd5791 authored by acurtis@xiphis.org's avatar acurtis@xiphis.org

Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-5.1-new

into  xiphis.org:/home/antony/work2/p1-bug18464
parents 8d1e56e6 f6febdb9
...@@ -2465,7 +2465,8 @@ MYSQL_STORAGE_ENGINE(innobase,,innodb,,,,storage/innobase,ha_innodb.o,[ dnl ...@@ -2465,7 +2465,8 @@ MYSQL_STORAGE_ENGINE(innobase,,innodb,,,,storage/innobase,ha_innodb.o,[ dnl
MYSQL_STORAGE_ENGINE(berkeley,,berkeley-db,,,,storage/bdb,,,[ MYSQL_STORAGE_ENGINE(berkeley,,berkeley-db,,,,storage/bdb,,,[
MYSQL_SETUP_BERKELEY_DB MYSQL_SETUP_BERKELEY_DB
]) ])
MYSQL_STORAGE_ENGINE(example,,,,,no,storage/example,,,[ MYSQL_STORAGE_ENGINE(example,,,,,,storage/example,no,
\$(top_builddir)/storage/example/libexample.a,[
AC_CONFIG_FILES(storage/example/Makefile) AC_CONFIG_FILES(storage/example/Makefile)
]) ])
MYSQL_STORAGE_ENGINE(archive,,,,,,storage/archive,, MYSQL_STORAGE_ENGINE(archive,,,,,,storage/archive,,
......
...@@ -1379,6 +1379,7 @@ bool ha_tina::check_if_incompatible_data(HA_CREATE_INFO *info, ...@@ -1379,6 +1379,7 @@ bool ha_tina::check_if_incompatible_data(HA_CREATE_INFO *info,
return COMPATIBLE_DATA_YES; return COMPATIBLE_DATA_YES;
} }
#ifdef MYSQL_PLUGIN
mysql_declare_plugin mysql_declare_plugin
{ {
MYSQL_STORAGE_ENGINE_PLUGIN, MYSQL_STORAGE_ENGINE_PLUGIN,
...@@ -1391,4 +1392,4 @@ mysql_declare_plugin ...@@ -1391,4 +1392,4 @@ mysql_declare_plugin
0x0100 /* 1.0 */, 0x0100 /* 1.0 */,
} }
mysql_declare_plugin_end; mysql_declare_plugin_end;
#endif
...@@ -26,11 +26,10 @@ INCLUDES = -I$(top_srcdir)/include \ ...@@ -26,11 +26,10 @@ INCLUDES = -I$(top_srcdir)/include \
-I$(srcdir) -I$(srcdir)
WRAPLIBS= WRAPLIBS=
pkglib_LTLIBRARIES = ha_example.la pkglib_LIBRARIES = libexample.a
ha_example_la_LDFLAGS = -module
noinst_HEADERS = ha_example.h noinst_HEADERS = ha_example.h
ha_example_la_SOURCES = ha_example.cc libexample_a_SOURCES = ha_example.cc
EXTRA_DIST = cmakelists.txt EXTRA_DIST = cmakelists.txt
LDADD = LDADD =
......
...@@ -726,6 +726,7 @@ int ha_example::create(const char *name, TABLE *table_arg, ...@@ -726,6 +726,7 @@ int ha_example::create(const char *name, TABLE *table_arg,
DBUG_RETURN(0); DBUG_RETURN(0);
} }
#ifdef MYSQL_PLUGIN
mysql_declare_plugin mysql_declare_plugin
{ {
MYSQL_STORAGE_ENGINE_PLUGIN, MYSQL_STORAGE_ENGINE_PLUGIN,
...@@ -738,4 +739,4 @@ mysql_declare_plugin ...@@ -738,4 +739,4 @@ mysql_declare_plugin
0x0001 /* 0.1 */, 0x0001 /* 0.1 */,
} }
mysql_declare_plugin_end; mysql_declare_plugin_end;
#endif
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