fix dump when primary key is a single column but not an auto-increment