• Alexey Botchkov's avatar
    MDEV-5138 Numerous test failures in "mtr --ps --embedded". · 365960a0
    Alexey Botchkov authored
      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.
    365960a0
emb_qcache.cc 11.9 KB