union all返回结果顺序不确定

https://dev.mysql.com/doc/refman/5.7/en/union.html#union-order-by-limit 中有专门提到 order 的顺序问题

https://dev.mysql.com/doc/refman/8.0/en/union.html 中似乎都去掉了,可能 mysql 8.0 改过逻辑了

目前 tidb 还在做 mysql 8.0 的适配,可以看看 v7.5 发版后的情况。