Frequently asked questions about developing storage engines for MariaDB, covering API compatibility with MySQL and recompilation requirements.
In most cases, yes. MariaDB tries to keep API compatibility with MySQL, even across major versions.
It will mostly work. It would need #ifdef's to adjust to MySQL-5.6 API, for example, for multi-read-range API, for table discovery API, etc. But most of the code will work as is, without any changes.
Yes. You will need to recompile the storage engine against the exact version of MySQL or MariaDB you intend to run it on. This is due to the version of the server being stored in the storage engine binary, and the server will refuse to load it if it was compiled for a different version.
This page is licensed: CC BY-SA / Gnu FDL