Key lock honoring?
This commit is contained in:
@@ -4339,6 +4339,15 @@ func updateOverrideRowKey(datasetName string, row map[string]any, expanded map[s
|
||||
}
|
||||
return changed, retiredKey, nil
|
||||
}
|
||||
if oldKey == newKey {
|
||||
row["key"] = newKey
|
||||
rowByKey[newKey] = row
|
||||
if _, ok := lockData[newKey]; !ok {
|
||||
lockData[newKey] = rowID
|
||||
changed = true
|
||||
}
|
||||
return changed, "", nil
|
||||
}
|
||||
conflictingID := -1
|
||||
if conflicting, ok := rowByKey[newKey]; ok && conflicting != nil {
|
||||
var conflictingHasID bool
|
||||
|
||||
Reference in New Issue
Block a user