Skip to content

Conversation

@jycor
Copy link
Contributor

@jycor jycor commented Mar 14, 2025

Table aliases on update statements break triggers, because we are unable to find any trigger matches on the alias.
The fix is to find the real table name when searching for triggers.

fixes: dolthub/dolt#8926

@jycor jycor changed the title look trhough table aliases for table names when applying triggers look through table aliases for table names when applying triggers Mar 14, 2025
Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jycor jycor merged commit a4f4b07 into main Mar 14, 2025
8 checks passed
@jycor jycor deleted the james/update branch March 14, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: BEFORE UPDATE Trigger Not Working in Dolt

3 participants