hanchuanchuan / goInception

一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具
https://hanchuanchuan.github.io/goInception/
GNU General Public License v3.0
1.59k stars 545 forks source link

修改表备注时sqlsha1为空 #624

Open dbadylan opened 7 months ago

dbadylan commented 7 months ago

描述 对一张表的备注进行修改时,如 ALTER TABLE t COMMENT = 'test';,返回的审核结果中,sqlsha1列的值为空

重现 每次必现

环境

hanchuanchuan commented 7 months ago

只有使用pt-osc/gh-ost时才会计算sqlsha1. 不满足表大小条件限制时也会忽略sqlsha1.

dbadylan commented 7 months ago

只有使用pt-osc/gh-ost时才会计算sqlsha1. 不满足表大小条件限制时也会忽略sqlsha1.

所有的ddl都走的gh-ost,也没限制表的大小。

hanchuanchuan commented 6 months ago

修改部分表定义时会自动跳过osc. 包括 charset/collate/comment. 这些操作只修改元数据,是立即完成的.

hanxiaoxudoubao commented 6 months ago

“修改部分表定义时会自动跳过gh-ost ”,这块具体怎么定义的,规则是什么,求指教,目前大表新增字段有after也不走