Hi, For the people that do not know, the "blobcontainer" plug-in was started at the OpenSQLCamp. It is intended to be a generic plug-in interface designed to handle the storage of BLOBs out side of the database tables. Initially it will be designed to work with the PrimeBase Media Stream engine.
The calls to the plug-in are being added to handler.cc. For example a call to blobcontainer_insert_row() appears in ha_write_row() just before write_row() is called. What the plug-in ends up doing is basically monitoring any handler calls that can insert, update or delete rows in the table along with any that alter or drop the table. I have a 'Hello World' version of it working right now. A couple of things have come up in the process of working on this: 1) I am thinking a better name for this plug-in type mat be "DataFilter" since it could be used to perform non blob related operations on data at the handler level. 2) It would be nice if the plug-in didn't get called for every table since, in the case of BLOB handling, the plug-in isn't interested in tables that do not have BLOB columns. What I am thinking of doing is adding a plug-in call to ask it if it is interested in a table and if no plug-ins are then the plug-in calls will be skipped for actions taken on that table. What I would add a flag to the TABLE_SHARE structure that would be set in get_table_share() when the structure is created to indicate if any plug-ins are interested in it. I just wanted to check if this is OK with people. I am new to drizzle development and do not want to get my fingers slapped. Barry ------------------------------------------------------------------------- Barry Leslie SNAP Innovation Softwareentwicklung GmbH Senior Software Engineer Tel: (001) 250 595 4228 Fax: (001) 250 595 4233 Email: [EMAIL PROTECTED] Web: www.PrimeBase.com SNAP Innovation Softwareentwicklung GmbH, D-22765 Hamburg, Max-Brauer-Allee 50, Germany Amtsgericht Hamburg HRB 61066, Geschäftsführer: Ulrich Zimmer, Paul McCullagh ------------------------------------------------------------------------- _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

