Hi, holyfoot! On Nov 30, holyfoot@askmonty.org wrote:
At file:///home/hf/wmar/mdev-5138/
------------------------------------------------------------ revno: 3992 revision-id: holyfoot@askmonty.org-20131130142537-7j272euoaoy0svg1 parent: holyfoot@askmonty.org-20131130132432-etlmes8qhhqhr1iu committer: Alexey Botchkov <holyfoot@askmonty.org> branch nick: mdev-5138 timestamp: Sat 2013-11-30 18:25:37 +0400 message: MDEV-5138 Numerous test failures in "mtr --ps --embedded". As Davi added code like sav_protocol= thd->protocol thd->protocol= &thd->protocol_binary ... thd->protocol= sav_protocol the fucntions like emb_store_querycache_result() cannot determine the used protocol testing thd->protocol == &thd->protocol_binary. Fixed by additional check thd->command == COM_STMT_EXECUTE.
What about PREPARE? Regards, Sergei