• unknown's avatar
    Bug #29138 'kill' fails in pushbuild · 37344c68
    unknown authored
    The reason the "reap;" succeeds unexpectedly is because the query was completing(almost always) and the network buffer was big enough to store the query result (sometimes) on Windows, meaning the response was completely sent before the server thread could be killed.
    
    Therefore we use a much longer running query that doesn't have a chance to fully complete before the reap happens, testing the kill properly.
    
    
    mysql-test/r/kill.result:
      We use a much longer running query that doesn't have a chance to fully complete before the reap happens.
    mysql-test/t/kill.test:
      We use a much longer running query that doesn't have a chance to fully complete before the reap happens.
    37344c68
kill.test 5.96 KB