More like runnyway. This is bad engineering
The alternative would have been to build levees to confine the waters to a channel, and hope the channel was deep enough.
When there are extreme weather events that you've not planned, designed and built your infrastructure for, you're basically at the mercy of mother nature. In the UK's case that's extremely hot weather, in Texas' case that was extreme cold