some cleanup

This commit is contained in:
Shlomi Noach 2017-03-01 14:16:24 +02:00
parent 5ba2aebf03
commit a45aa4f665

View File

@ -882,9 +882,6 @@ func (this *Applier) buildDMLEventQuery(dmlEvent *binlog.BinlogDMLEvent) (query
case binlog.DeleteDML:
{
query, uniqueKeyArgs, err := sql.BuildDMLDeleteQuery(dmlEvent.DatabaseName, this.migrationContext.GetGhostTableName(), this.migrationContext.OriginalTableColumns, &this.migrationContext.UniqueKey.Columns, dmlEvent.WhereColumnValues.AbstractValues())
log.Errorf("-------------- delete")
log.Errorf("query: %+v", query)
log.Errorf("argss: %+v", uniqueKeyArgs)
return query, uniqueKeyArgs, true, -1, err
}
case binlog.InsertDML: