Skip to content

UPDATE panics with a binary primary key and some foreign key since 1.86.0 #10903

@DavidLokison

Description

@DavidLokison

It seems there has been a bug introduced somewhere around Dolt 1.86.0, where I can't update tables that have binary primary keys and some constraint to a different table. The type of the constrainted index doesn't seem to matter it's the primary key of the updated table that's causing the issue.

To reproduce:
repro.sql

$ dolt sql < repro.sql

My output:
panic.log

I tried this on Dolt 1.85.0 and it ran fine, so that's hopefully narrowing down the issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcorrectnessWe don't return the same result as MySQLcustomer issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions