Running this query:
select null, "hello" union all select sleep(4), "world";
on 5.5.29 doesn't return the first row right away as expected. Instead, I have to wait 4 seconds before getting anything. How can I make MySQL return the first row right away?
I am trying to test the handling of slow queries. It makes no sense to divide it, since I would then be testing something else.