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
数据库版本mysql5.7,mariadb sqL:
ALTER TABLE xx.xx
ADD UNIQUE INDEX xx (xx ASC) VISIBLE;
上述sql是开发从第三方工具生成,指定了visible,goinception审核通过
但是最后执行阶段报错:
Execute: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 2.
索引 VISIBLE 与 INVISIBLE 在 MySQL 8 之后才支持,
建议8之前的mysql在审核的时候可以直接显示语法错误,而不是最后执行报错,谢谢
The text was updated successfully, but these errors were encountered:
数据库版本mysql5.7,mariadb sqL:
ALTER TABLE
xx
.xx
ADD UNIQUE INDEX
xx
(xx
ASC) VISIBLE;上述sql是开发从第三方工具生成,指定了visible,goinception审核通过
但是最后执行阶段报错:
Execute: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 2.
索引 VISIBLE 与 INVISIBLE 在 MySQL 8 之后才支持,
建议8之前的mysql在审核的时候可以直接显示语法错误,而不是最后执行报错,谢谢
The text was updated successfully, but these errors were encountered: