On Oct 5, 2008, at 8:09 AM, Roland Bouman wrote:
I know that currently the same practice is used for (most of) MySQL 5.1's plugins. But isn't this the moment to rethink all that and make sure the plugins get passed only exactly what they need, without the possibility to mess things up by (god forbid) changing the state of the passed THD?
A better API to the server state is being thought and rethought right now.
And when BrianA comes up with it, and then it evolves, most of these plugin interfaces will have to change, yes.
But until then, the THD is where it is at, and it's actually kind of hard to say ahead of time everything that a plugin "needs", especially the query logging and the error logging plugins, which can say they have a legit need to potentially see *every* part of the server, session, thread, and query state.
-- Mark Atwood <http://mark.atwood.name> _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : drizzle-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp