fix #8099: useful error message on table_info