From: Stewart Smith Date: March 29 2011 3:54am Subject: Re: storage engine access to serialized version of a TABLE or TABLE_SHARE? List-Archive: http://lists.mysql.com/internals/38268 Message-Id: <874o6mr38j.fsf@flamingspork.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mon, 28 Mar 2011 23:34:03 -0400, Zardosht Kasheff wrote: > Hello all, > > Is there a way for the storage engine to get some sort of byte stream > that represents a serialized version of a TABLE or TABLE_SHARE object? > The goal is to save it locally during handler::create and then check > its contents (as a sanity check) with the TABLE_SHARE passed in during > handler::open. > > Is this possible? And if it is, is there a way to take this serialized > data and print what the table looks like in user readable form? The closest you have for this in the MySQL code base is the code behind SHOW CREATE TABLE. -- Stewart Smith