stats: fix compatibility of auto analyze period (#7633)
stats: fix compatibility of auto analyze period (#7633)


ngaut/tidb,mccxj/tidb,ngaut/tidb,kyle-wang/tidb,ming-relax/tidb,c4pt0r/tidb,EvilMcJerkface/tidb,ngaut/tidb,c4pt0r/tidb,mccxj/tidb,pingcap/tidb,c4pt0r/tidb,tiancaiamao/tidb,qiuyesuifeng/tidb,kyle-wang/tidb,coocood/tidb,XuHuaiyu/tidb,kyle-wang/tidb,Nify/tidb,ngaut/tidb,pingcap/tidb,c4pt0r/tidb,XuHuaiyu/tidb,pingcap/tidb,ngaut/tidb,pingcap/tidb,pingcap/tidb,Cofyc/tidb,cosmtrek/tidb,wusphinx/tidb,kyle-wang/tidb,pingcap/tidb,EvilMcJerkface/tidb,qiuyesuifeng/tidb,tiancaiamao/tidb,Nify/tidb,kyle-wang/tidb,cosmtrek/tidb,wusphinx/tidb,c4pt0r/tidb,Cofyc/tidb,ngaut/tidb,ming-relax/tidb,c4pt0r/tidb,coocood/tidb,kyle-wang/tidb