• Sergei Petrunia's avatar
    MDEV-10674: main.show_explain failed in buildbot · 562c8825
    Sergei Petrunia authored
    Fix a race condition in the testcase. The testcase assumed that
    State='Sending data' means that the thread is already in an
    InnoDB lock wait. This is not case, there is a gap between the
    state changing to Sending data and execution reaching the point
    where it is waiting for a lock.
    
    Use a more precise check instead, through I_S.INNODB_TRX.
    562c8825
show_explain.opt 61 Bytes