Hi!

On Aug 21, 2008, at 1:09 AM, Mats Kindahl wrote:

I'm not entirely sure about the connection between ha_discovery() and

Discovery is just the current tie in point. I do not expect it to stay the same at all.

common .frm format or discovery mechanism, then there should be a
library and/or a set of helper function for the engine to use. That way,
an engine can opt to use the .frm files if they feel like it, while
engines that want to do something special can roll it themselves.

Agreed. This is just a default discovery method in my book.

However, I think that the parsing should be handled by Drizzle and that a table definition description (a.k.a., "parse tree", but I really don't
like that term) should be passed to the engine.

I want an engine to be able to handle/read that definition (and restore it). For Innodb this is a requirement for its catalog (and for Archive for portable tables).

Cheers,
        -Brian



In general, I prefer narrow interfaces, and allowing the engines to be
responsible for the format and discovery and "just" act at table
factories is much easier for each involved entity while still
maintaining maximum flexibility.

Just my few cents,
Mats Kindahl


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


--
Mats Kindahl
Lead Software Developer
Replication Team
MySQL AB, www.mysql.com
<mats.vcf>

--
_______________________________________________________
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