Skip to content

Commit 06090bc

Browse files
committed
updated comment for Delete joins
1 parent 12fb79e commit 06090bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/analyzer/triggers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,9 @@ func applyTrigger(ctx *sql.Context, a *Analyzer, originalNode, n sql.Node, scope
412412
// like we need something like a MultipleTriggerExecutor node
413413
// that could execute multiple triggers on the same row from its
414414
// wrapped iterator. There is also an issue with running triggers
415-
// because their field indexes assume the row they evalute will
415+
// because their field indexes assume the row they evaluate will
416416
// only ever contain the columns from the single table the trigger
417-
// is based on, but this isn't true with UPDATE JOIN or DELETE JOIN.
417+
// is based on.
418418
if n.HasExplicitTargets() {
419419
return nil, transform.SameTree, fmt.Errorf("delete from with explicit target tables " +
420420
"does not support triggers; retry with single table deletes")

0 commit comments

Comments
 (0)