mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Fix for plugins work
This commit is contained in:
parent
9e3a6897c9
commit
e2870b24c6
3 changed files with 9 additions and 6 deletions
|
@ -26,6 +26,9 @@ INCLUDES = -I$(top_srcdir)/include \
|
||||||
-I$(srcdir)
|
-I$(srcdir)
|
||||||
WRAPLIBS=
|
WRAPLIBS=
|
||||||
|
|
||||||
|
$(top_builddir)/sql/sql_yacc.h: $(top_builddir)/sql/sql_yacc.yy
|
||||||
|
( cd $(top_builddir)/sql && $(MAKE) sql_yacc.cc )
|
||||||
|
|
||||||
pkglib_LTLIBRARIES = ha_csv.la
|
pkglib_LTLIBRARIES = ha_csv.la
|
||||||
|
|
||||||
ha_csv_la_LDFLAGS = -module
|
ha_csv_la_LDFLAGS = -module
|
||||||
|
|
|
@ -26,6 +26,9 @@ INCLUDES = -I$(top_srcdir)/include \
|
||||||
-I$(srcdir)
|
-I$(srcdir)
|
||||||
WRAPLIBS=
|
WRAPLIBS=
|
||||||
|
|
||||||
|
$(top_builddir)/sql/sql_yacc.h: $(top_builddir)/sql/sql_yacc.yy
|
||||||
|
( cd $(top_builddir)/sql && $(MAKE) sql_yacc.cc )
|
||||||
|
|
||||||
pkglib_LTLIBRARIES = ha_example.la
|
pkglib_LTLIBRARIES = ha_example.la
|
||||||
|
|
||||||
ha_example_la_LDFLAGS = -module
|
ha_example_la_LDFLAGS = -module
|
||||||
|
|
|
@ -67,11 +67,11 @@
|
||||||
#pragma implementation // gcc: Class implementation
|
#pragma implementation // gcc: Class implementation
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../mysql_priv.h"
|
#include "mysql_priv.h"
|
||||||
#include <plugin.h>
|
|
||||||
|
|
||||||
#include "ha_example.h"
|
#include "ha_example.h"
|
||||||
|
|
||||||
|
#include <plugin.h>
|
||||||
|
|
||||||
static handler* example_create_handler(TABLE_SHARE *table);
|
static handler* example_create_handler(TABLE_SHARE *table);
|
||||||
static int example_init_func();
|
static int example_init_func();
|
||||||
|
|
||||||
|
@ -100,12 +100,9 @@ handlerton example_hton= {
|
||||||
example_create_handler, /* Create a new handler */
|
example_create_handler, /* Create a new handler */
|
||||||
NULL, /* Drop a database */
|
NULL, /* Drop a database */
|
||||||
NULL, /* Panic call */
|
NULL, /* Panic call */
|
||||||
NULL, /* Release temporary latches */
|
|
||||||
NULL, /* Update Statistics */
|
|
||||||
NULL, /* Start Consistent Snapshot */
|
NULL, /* Start Consistent Snapshot */
|
||||||
NULL, /* Flush logs */
|
NULL, /* Flush logs */
|
||||||
NULL, /* Show status */
|
NULL, /* Show status */
|
||||||
NULL, /* Replication Report Sent Binlog */
|
|
||||||
HTON_CAN_RECREATE
|
HTON_CAN_RECREATE
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue