hanchuanchuan / goInception

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

MySQL存储过程的支持 #568

Closed waitspring closed 1 year ago

waitspring commented 1 year ago

https://github.com/hanchuanchuan/goInception/issues/256 @hanchuanchuan @LeoQuote Inception 如果没有计划支持存储过程的话,能否基于配置文件设计一个参数,用于控制是否放行不支持审核的语句:由用户决定是否在冒风险的条件下,把未经审核的语句直接放行掉。 这样做的原因在于,本身Archery项目里面也有审核引擎,可以基于其内置的审核引擎来做二次开发,允许上线使用存储过程。 两位作者联合考虑一下呢?

waitspring commented 1 year ago

https://github.com/hanchuanchuan/goInception/issues/256#issuecomment-669132303 另外,能否指路一下,TiDB的语法解析器的资料去哪里了解呢?

yangjule126 commented 1 year ago

同上

hanchuanchuan commented 1 year ago

参考 https://cn.pingcap.com/blog/tidb-source-code-reading-5