Record summer heatwave drains waterways in southern Poland