* Sergey Vojtovich <svoj@stripped> [07/07/31 16:42]:
> Probably yes, but only if thd->variables.max_insert_delayed_threads == 0.
> I believe we must use TL_WRITE if we're in SP or prelocked_mode.
No, we don't, I know that for certain for SP/prelocked mode.
Why should we use TL_WRITE if there are delayed threads? I guess
this is a deadlock-prevention measure, but don't see exactly how
it works.
It is a good idea to write a comment about it ;)
--
-- Konstantin Osipov Software Developer, Moscow, Russia
-- MySQL AB, www.mysql.com The best DATABASE COMPANY in the GALAXY