Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e2870b24
Commit
e2870b24
authored
Dec 21, 2005
by
acurtis@xiphis.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for plugins work
parent
9e3a6897
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
storage/csv/Makefile.am
storage/csv/Makefile.am
+3
-0
storage/example/Makefile.am
storage/example/Makefile.am
+3
-0
storage/example/ha_example.cc
storage/example/ha_example.cc
+3
-6
No files found.
storage/csv/Makefile.am
View file @
e2870b24
...
@@ -26,6 +26,9 @@ INCLUDES = -I$(top_srcdir)/include \
...
@@ -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
...
...
storage/example/Makefile.am
View file @
e2870b24
...
@@ -26,6 +26,9 @@ INCLUDES = -I$(top_srcdir)/include \
...
@@ -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
...
...
storage/example/ha_example.cc
View file @
e2870b24
...
@@ -67,11 +67,11 @@
...
@@ -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= {
...
@@ -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
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment