Hi!
>>>>> "Alex" == Alex Esterkin <aesterkin@stripped> writes:
Alex> On Tue, May 12, 2009 at 4:36 PM, Brian Aker <brian@stripped> wrote:
>> Hi!
>>
>> On May 12, 2009, at 12:13 PM, Alex Esterkin wrote:
>>
>>> For all semantic
>>> purposes, THD=Session.
>>
>>
>> A Session object can be moved across scheduler objects, there is no 1=1
>> ratio in Drizzle between Session and Thread.
Alex> This is exactly the point I am making. In Drizzle, you renamed THD
Alex> into Session and decoupled threads and sessions - exactly the way it
Alex> should be. In MySQL, THD is both, a thread and a session state
Alex> holder, and it should only hold the latter.
Not true in MariaDB or MySQL 6.0
With the pool-of-threads patch, THD becomes much closer to a session.
Regards,
Monty