← Back to team overview

pbxt-discuss team mailing list archive

Re: free_table_share() != drizzle

 

Hi!

On May 14, 2010, at 9:37 AM, Paul McCullagh wrote:

> Here the engine will follow the "table" pointer to the "field" array, where it uses the offsets of the data in a record, in order to copy data in and out of the record.

So what you need is the Field** that is in share (aka, you don't even need Table, you just need TableShare). 

You could just do this:

TableShare my_share(<share_key>,....);

That way you have your own object and you never pass through any of the locking system/dealing with any of the object counting.

Cheers,
	-Brian




Follow ups

References