github dolthub/dolt v1.50.2
1.50.2

12 hours ago

Merged PRs

dolt

go-mysql-server

  • 2868: Don't use non-unique indexes as functional dependencies in AND expressions.
    This fixes a customer issue that was causing Error 1105 (HY000): result max1Row iterator returned more than one row
    We can probably do better than this: we could tweak it so that adding a FD key on a non-unique index instead adds an implication that the non-unique index key determines the primary key.
    But this is a simpler fix in the meantime that makes us more correct.
  • 2866: Fix alter table panics
    Multi-alters are executed with Block iterators. Block error handling always assumed the calling context was a stored procedure, which doesn't appear to be true in this case. Rather than create a new iterator, error handling noops to the default error if a proc reference is not found.
    fixes: #8917
  • 2865: fix declare cursors in triggers
    fixes: #8913
  • 2864: Allow SHOW CREATE to display auto increment for tables that store AutoIncrement but don't support writing it.
    This is the GMS side of an issue to properly display diffs when the autoincrement counter on a table changes.
    We add a new interface, AutoIncrementGetter for tables that store AutoIncrement info, even if they can't generate autoincremented ids (because they're immutable snapshots of a table with an autoincrement column)
  • 2863: Added regexp_instr and regexp_substr
    This adds the functions regexp_instr and regexp_substr. This also references the new interface functions in:

Closed Issues

  • 8917: SIGSEGV panic when modifying the schema for foreign keys
  • 8913: declare variables does not work within triggers
  • 2872: Join planner chooses suboptimal plan for lookup join

Don't miss a new dolt release

NewReleases is sending notifications on new releases.