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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
5a7f36fb
Commit
5a7f36fb
authored
Aug 01, 2007
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge zim.(none):/home/bk/mysql-5.1-arch
into zim.(none):/home/brian/mysql/mysql-5.1-arch
parents
78da884e
b41a97fa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
storage/example/ha_example.cc
storage/example/ha_example.cc
+4
-1
storage/example/plug.in
storage/example/plug.in
+1
-1
No files found.
storage/example/ha_example.cc
View file @
5a7f36fb
...
...
@@ -79,6 +79,10 @@
ha_example::open() would also have been necessary. Calls to
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>
-Brian
*/
...
...
@@ -132,7 +136,6 @@ static int example_init_func(void *p)
(
hash_get_key
)
example_get_key
,
0
,
0
);
example_hton
->
state
=
SHOW_OPTION_YES
;
example_hton
->
db_type
=
DB_TYPE_EXAMPLE_DB
;
example_hton
->
create
=
example_create_handler
;
example_hton
->
flags
=
HTON_CAN_RECREATE
;
...
...
storage/example/plug.in
View file @
5a7f36fb
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])
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