dumper: fix a bug that no column table isn't dumped

Index only table isn't dumped.
A table that has no columns was detected as an index only table.