go-mysql-server icon indicating copy to clipboard operation
go-mysql-server copied to clipboard

refactor index validation and prevent indexes over json columns

Open jycor opened this issue 1 year ago • 0 comments

This PR consolidates the logic to validate if an index. Additionally, it fixes a bug where create table t (i int, index (i, i)); was allowed.

fixes: https://github.com/dolthub/dolt/issues/6064

jycor avatar Apr 24 '24 00:04 jycor