[MDEV-5305] Storage engine API improvements Created: 2013-11-18 Updated: 2015-10-30 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Storage engine producers tend to do very similar mistakes, like:
This typically makes such storage engine crash in case of It would be nice to do take some steps to avoid this and help 1. Create a file "se_api.h" which will include all *.h files that 2. Remove the confusing "#define MYSQL_SERVER" from as
3. Prevent direct inclusion of the server *.h files without using se_api.h. |
| Comments |
| Comment by Arjen Lentz [ 2014-03-18 ] |
|
Sounds like a fine plan, Bar - do you have a full overview of the issues involved, so that individual storage engine people can at least fix that bit? |
| Comment by Alexander Barkov [ 2014-03-20 ] |
|
Arjien, thanks for your comments! |