ddl: add err check in table.go (#9385)
ddl: add err check in table.go (#9385)

fix the errcheck
XuHuaiyu/tidb,pingcap/tidb,EvilMcJerkface/tidb,pingcap/tidb,ngaut/tidb,ngaut/tidb,ngaut/tidb,kyle-wang/tidb,c4pt0r/tidb,pingcap/tidb,cosmtrek/tidb,Cofyc/tidb,c4pt0r/tidb,coocood/tidb,kyle-wang/tidb,qiuyesuifeng/tidb,ngaut/tidb,Cofyc/tidb,ming-relax/tidb,XuHuaiyu/tidb,pingcap/tidb,c4pt0r/tidb,pingcap/tidb,kyle-wang/tidb,EvilMcJerkface/tidb,pingcap/tidb,ngaut/tidb,kyle-wang/tidb,c4pt0r/tidb,ngaut/tidb,c4pt0r/tidb,c4pt0r/tidb,ming-relax/tidb,kyle-wang/tidb,cosmtrek/tidb,qiuyesuifeng/tidb,coocood/tidb,kyle-wang/tidb