Skip to content

Commit 607fb62

Browse files
committed
add IsInReplaceUpdate for update order
1 parent 539d12d commit 607fb62

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

xset/synccontrols/x_update.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ func (o *orderByDefault) Less(i, j int) bool {
282282
return l.IsDuringUpdateOps
283283
}
284284

285+
if l.IsInReplaceUpdate != r.IsInReplaceUpdate {
286+
return l.IsInReplaceUpdate
287+
}
288+
285289
if l.PlaceHolder != r.PlaceHolder {
286290
return r.PlaceHolder
287291
}

0 commit comments

Comments
 (0)