Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -709,6 +709,11 @@ func productSeriesApplyVariant(ctx context.Context, pg *sql.DB, v productSeriesA
|
||||
return 0, 0, err
|
||||
}
|
||||
defer tx.Rollback()
|
||||
|
||||
// Tag the DB session for audit attribution (scheduler vs http handler).
|
||||
// This affects only statements in this transaction.
|
||||
_, _ = tx.ExecContext(ctx, `SELECT set_config('application_name', current_setting('application_name') || '|series-auto', true)`)
|
||||
|
||||
if _, err := tx.ExecContext(ctx, `
|
||||
DELETE FROM zbggseri
|
||||
WHERE mmitem_id=$1
|
||||
|
||||
Reference in New Issue
Block a user