We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题简介: 如果被审核的任务中存在对view进行删除操作的sql(对视图进行drop view 和drop table都不行), 会导致审核报错, 无法正常执行审核
复现状态: 稳定复现
绕过手段: 因为目前sqle不支持视图相关sql, 所以可以通过移除相关sql的方式使审核可以正常执行
问题原因: sql解析器将drop view 解析成了 drop table(drop table还是drop table), sqle 在基本检查(show tables 可以查出视图)通过后会给drop table生成回滚语句, 生成回滚语句时需要查询表结构(show create table), 视图的返回结果中没有'create table'这一列(取而代之的是'create view'列), 导致查询表结构报错, 从而导致审核无法执行
报错内容 show create table error, column "Create Table" not found
报错截图
The text was updated successfully, but these errors were encountered:
Merge pull request #219 from actiontech/fix-bug
9ce7104
use the minimum of MaxPreQueryRows and PageIndex
No branches or pull requests
问题简介:
如果被审核的任务中存在对view进行删除操作的sql(对视图进行drop view 和drop table都不行), 会导致审核报错, 无法正常执行审核
复现状态:
稳定复现
绕过手段:
因为目前sqle不支持视图相关sql, 所以可以通过移除相关sql的方式使审核可以正常执行
问题原因:
sql解析器将drop view 解析成了 drop table(drop table还是drop table), sqle 在基本检查(show tables 可以查出视图)通过后会给drop table生成回滚语句, 生成回滚语句时需要查询表结构(show create table), 视图的返回结果中没有'create table'这一列(取而代之的是'create view'列), 导致查询表结构报错, 从而导致审核无法执行
报错内容
show create table error, column "Create Table" not found
报错截图
The text was updated successfully, but these errors were encountered: