[MariaDB developers] Review of MDEV-30073 Wrong result on 2nd execution of PS for query