Ingest counts duplicates as accepted on MariaDB #10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resending an event with a known
idreturnsaccepted: 1on MariaDB (SQLite returns 0). Data is correct: the event is stored only once.Cause: on MariaDB the Gorm MySQL driver appends
RETURNING idtoINSERT ... ON DUPLICATE KEY UPDATE, which also returns the existing row, so it is counted inRowsAffected.