You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1439: Added WHEN support for triggers
This adds support for WHEN on triggers, which is probably the last major trigger addition that we'll need for now.
1437: Fixes for prepared statements, removed custom literal type
Removes doltgres's custom Literal type, uses the GMS version everywhere. This fixes various incompatibilities in GMS where an expression.Literal is expected.
This is an alternate approach to the first attempt here: #1406
1436: Added dropping triggers when dropping a table
1433: Add skipped test for erroring prepared query with offset
1432: Add support for UPDATE ... RETURNING
Adds support for basic usage of UPDATE with a RETURNING clause.
Limitations:
Does not support * as an expression yet – an additional analyzer change is needed to expand * into column names.
Fixes: #1421
Depends on: dolthub/go-mysql-server#2955
1426: Added support for triggers
This adds partial support for triggers. This should cover a decent chunk of the functionality that will be expected. Notably, this is still missing:
FOR EACH STATEMENT
TRUNCATE
INSTEAD OF timing
Deferring
Specific column triggers for UPDATE
CONSTRAINT TRIGGERS
Referenced tables (seemingly used for the internal foreign key implementation?)
Transition tables
String arguments
The rest of the variables available inside a trigger interpreted function
1411: Fixed interpretation calls within DML
This implements the changes necessitated by the following fix:
dolthub/go-mysql-server#2949
We had a bug where calls to any DML statements that included an interpreted function would remove the DML's ability to actually affect the data. The GMS PR implements the core fix, and this PR implements the companion changes.
1408: Bug fix for dolt_ tables with incompatible types
Fixes #1405
This works by placing a typecast on unconverted dolt_ table fields so that they work in any expression that requires a doltgresType.