从6.1.2升级到7.1.1后,执行SQL报index out of range [0] with length 0

https://github.com/pingcap/tidb/issues/45805

感觉像是这个bug。