mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-09 01:35:18 +02:00
docs: fix separator reference in composite unique comment (merge.rs also uses U+001F)
This commit is contained in:
parent
9e21f5a3f5
commit
4a14954f0f
1 changed files with 2 additions and 1 deletions
|
|
@ -1468,7 +1468,8 @@ pub(crate) fn enforce_unique_constraints_intra_batch(
|
|||
}
|
||||
// Join on the unit separator (U+001F) — a control char highly
|
||||
// unlikely to occur in real data, keeping composite keys
|
||||
// effectively unambiguous (cf. `exec/merge.rs`, which uses `|`).
|
||||
// effectively unambiguous. Matches `exec/merge.rs::row_signature`,
|
||||
// which uses the same separator.
|
||||
let value = parts.join("\u{1f}");
|
||||
if let Some(prev_row) = seen.insert(value.clone(), row) {
|
||||
return Err(OmniError::manifest(format!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue