Muhammad Waqas Iftikhar <[email protected]> writes: > Lets say I want to customize .frm bin files to store some extra information > about a table. For example if we try implementing materialized views we > will have to save the defining "query". > > I have seen the .frm file for general views but I believe as mat views will > form a physical table on disk that .frm file is either useless in our case > or at least some merger of view and physical table frm file is required. > Does any body have an idea regarding this? > > My initial thought was to append our required info at the end of binary frm > file once create_table is done writing it. But if some body Alters table > adding more columns it will be over written. We will have to keep a check > for many situations like these. Does any part of .frm (header or any other) > provide a buffer to write some extra data in it for some new development or > additions?
Drizzle doesn't have FRM files and hasn't for several years (since 2009 IIRC). If you were going to do VIEWS (and materialized views at that) in Drizzle, there's a couple of ways you could approach it and we should discuss how to do that the right way rather than the way it's done inside MySQL. -- Stewart Smith
pgppmVi7lxnfL.pgp
Description: PGP signature
_______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

