On 03/08/11 15:11, Jon Olav Hauglid wrote:
>> The problem was in some corner cases TABLE instance might have
>> NULL 's' attribute (a pointer to TABLE_SHARE).
> Which corner cases?
Well.. Sometimes we construct TABLE_LIST instances "manually".
For example, in cases like SHOW TRIGGERS LIKE <table name>.
> I'm unable to reproduce the original problem with this test case and
> your change reverted. Is it OS specific? (I tested with
> --cursor-protocol as well).
My box is: Ubuntu 10.10
Linux quad 2.6.35-27-server #48-Ubuntu SMP Tue Feb 22 21:53:16 UTC 2011
> Even with this change, I'm able to reproduce the problem from Bug#56115
> using the bug56115.c test case Shane posted.
Grr. I should have run it myself. Thanks.