Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix uniqueness check in InsertOrGetFFI to match indexes
When guessing the reason for an insert conflict, the query needs to exactly match the configured database indexes. That means that the "name" and "networkName" queries need to both include "version" as well, otherwise we risk grabbing a row that isn't actually a conflict. Signed-off-by: Andrew Richardson <andrew.richardson@kaleido.io>
- Loading branch information