Skip to content

Commit

Permalink
sql: fix mysql query
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Aug 5, 2024
1 parent 0b81782 commit a24a026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/sql/mysql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ func (tx *MainDatabaseTx) SetContractSet(ctx context.Context, name string, contr

// remove unwanted contracts
_, err = tx.Exec(ctx, fmt.Sprintf(`
DELETE contract_set_contracts
DELETE csc
FROM contract_set_contracts csc
INNER JOIN contracts c ON c.id = csc.db_contract_id
WHERE c.fcid NOT IN (%s)
Expand Down

0 comments on commit a24a026

Please sign in to comment.