List:Commits« Previous MessageNext Message »
From:Davi Arnaut Date:February 24 2011 10:27am
Subject:Re: bzr commit into mysql-5.5 branch (tor.didriksen:3354) Bug#11747102
View as plain text  
On 2/23/11 1:18 PM, Tor Didriksen wrote:
> On 2011-02-23 15:41, Davi Arnaut wrote:
>>> +--echo # connection default
>>> +connection default;
>>
>> I think its better to reap con1 before disconnecting, it avoids
>> problem when running under embedded.
>>
>> Regards,
>>
>> Davi
> We are killing that connection, so the reap may fail.

Do something like:

--error ER_QUERY_INTERRUPTED
--reap

(and change the kill to a KILL QUERY)

This is necessary when the test is running under embedded because --send 
is executed in a separate thread. If not reaped, the connection might be 
closed whilst this thread is still executing within the server code.

Regards,

Davi
Thread
bzr commit into mysql-5.5 branch (tor.didriksen:3354) Bug#11747102Tor Didriksen23 Feb
  • Re: bzr commit into mysql-5.5 branch (tor.didriksen:3354) Bug#11747102Davi Arnaut23 Feb
    • Re: bzr commit into mysql-5.5 branch (tor.didriksen:3354) Bug#11747102Tor Didriksen23 Feb
      • Re: bzr commit into mysql-5.5 branch (tor.didriksen:3354) Bug#11747102Davi Arnaut24 Feb