Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

试用了docker版,测试drop table,发现还是能执行成功 #43

Open
dxtywt opened this issue Dec 6, 2017 · 1 comment
Open

Comments

@dxtywt
Copy link

dxtywt commented Dec 6, 2017

看代码,中间是有这个方法的,求解答
def criticalDDL(self, sqlContent): ''' 识别DROP DATABASE, DROP TABLE, TRUNCATE PARTITION, TRUNCATE TABLE等高危DDL操作,因为对于这些操作,inception在备份时只能备份METADATA,而不会备份数据! 如果识别到包含高危操作,则返回“审核不通过” '''
image

@jly8866
Copy link
Owner

jly8866 commented Dec 15, 2017

settings.py里开关没配吧?具体问题可以问qq群里的@Eleven-深圳 大神开发的这个功能

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants