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
My output:
panic.log
I tried this on Dolt 1.85.0 and it ran fine, so that's hopefully narrowing down the issue.
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.sqlMy output:
panic.log
I tried this on Dolt 1.85.0 and it ran fine, so that's hopefully narrowing down the issue.