明智重蔵です。
MySQL8.0の機能について調べていて、
MySQL8.0のマニュアルで興味深い記述を見つけました。

https://dev.mysql.com/doc/refman/8.0/en/user-variables.html

>Previous releases of MySQL made it possible to assign a value to a user variable in statements other than SET.
>This functionality is supported in MySQL 8.0 for backward compatibility
>but is subject to removal in a future release of MySQL.

要約すると、Set文以外(例えばSelect文)でのユーザ変数への値の代入機能は削除予定です。
という記述なのですが、
削除予定になった経緯が分かる方っていますか?
MySQL開発者のブログとかに書かれてませんかね?