Fixed #22291 -- Avoided shadowing deadlock exceptions on MySQL.

Thanks err for the report.
Fixed #22317 -- Fixed documented handler400 default value