On 19.03.2009 20:56, Sergei Golubchik wrote:
> And we have plugins which use internal server data structures and
> calls - storage engine is of the latter kind. This "api" is unstable,
> although it depends on what from the server internals you actually use.
> We work on providing a well-defined api to storage engines, but this is
> far from complete :(
Well, I hope it's stable enough in 5.1.x tree.
At least I didn't experience any such problems with 5.1.26, 5.1.30 and 5.1.32.
> By the way, if you just want to provide read-only access to your
> data,may be INFORMATION_SCHEMA plugin would be more appropriate ?
> It's way simpler than storage engine.
Maybe. Do you have any pointers to the docs/examples/etc?
I'm using storage/* and memcache_engine as a base for my code.
I also wanted to give user possibility to clean the data with a simple "DELETE FROM ...",
but code simplicity is still much more important.
--
Wbr,
Antony Dovgal