• Sergei Petrunia's avatar
    MDEV-33423: show_analyze sporadically fails at line 226: 'reap' succeeded... · 4ed8d98b
    Sergei Petrunia authored
    Fix a race condition in a testcase: it tried to KILL a running SET query.
    The query could finish before KILL command killed it, which resulted in:
    
      query 'reap' succeeded - should have failed with error
      ER_QUERY_INTERRUPTED
    
    Fixed by forcing the query to first block for SHOW ANALYZE and then block
    again waiting to be KILLed.
    4ed8d98b
show_analyze.test 11.4 KB