Hi!

On Feb 16, 2009, at 11:13 AM, Mark Atwood wrote:

Doesn't Drizzle already have a slot value in the Session object? I saw it the other day while working thru some storage engine stuff.


At the moment there is a slot for engines (cursors really), and a slot for replication in the session object. Both of these need to be generalized into an API for all plugins.... not terribly hard to do, no one has gotten around to it.

A scoreboard would not be a member of the session object though, since the scoreboard outlives session objects (and its creation size should be immutable). Make it the last plugin initialized and let other plugins register values to it... since it is at the end it can then create the memory structure. I_S tables can then read from it for data.

Cheers,
        -Brian

--
_______________________________________________________
Brian "Krow" Aker, brian at tangent.org
Seattle, Washington
http://krow.net/                     <-- Me
http://tangent.org/                <-- Software
_______________________________________________________
You can't grep a dead tree.




_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to