On 4/3/09 10:26 AM, Antony Dovgal wrote:
> On 03.04.2009 17:17, Chad MILLER wrote:
>> Not yet, sorry. I'm almost certain that there are structures that
>> really should be hidden, but I am not enough conversant in our
>> storage-engine Best Practices to know what should be exposed.
>>
>> It's funny psycologically, that if you had submitted a patch that
>> included all but one file, I would not be so troubled by it, regardless
>> of its correctness. But *all* headers, that really bothers me.
>
> I'd be happy to modify the patch, but I just don't know what (and why) you'd like to
> 'hide'.
>
> Also, I believe that any structures/defines/whatever used in MySQL *theoretically*
> might be
> (or will be) useful for the plugins; so if you 'hide' them now, you'll have to
> 'unhide' them later.
>
Antony,
There needs to be a separation between private (to the server) and
public (exposed to the plugins) structures, we can't just expose all of
then without creating a mess as it might later hinder our ability to
modify or fix internal structures without causing havoc for the plugins.
We should be looking at this on a case-by-case basis. Or we decide to
not guarantee stability on the exposed structures. What do you prefer?
- Davi Arnaut