Skip to content

Commit 1fc3ea8

Browse files
syncer.go: don't add row_id column to table info (#422) (#427)
this make it don't use _tidb_rowid column when dest-type = tidb
1 parent 86c4dd0 commit 1fc3ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drainer/syncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ func (s *Syncer) run(jobs []*model.Job) error {
416416
log.Debug("get ddl binlog job: ", string(data))
417417
}
418418
}
419-
s.schema, err = NewSchema(jobs, s.cfg.DestDBType == "tidb")
419+
s.schema, err = NewSchema(jobs, false)
420420

421421
s.executors, err = createExecutors(s.cfg.DestDBType, s.cfg.To, s.cfg.WorkerCount)
422422
if err != nil {

0 commit comments

Comments
 (0)