The fix for MDEV-12876 fixed this problem as well. So adding tests only.
Attach a file by drag & drop or click to upload