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

修复表名为关键字时审核任务无法正常展示的问题 #494

Merged
merged 1 commit into from
May 6, 2022
Merged

Conversation

alextinng
Copy link
Contributor

@alextinng alextinng commented May 5, 2022

#499
创建审核任务时,如果表名中存在以关键字(比如group)明明的表,审核任务可以正常创建,页面可以正常打开,但是SQL语句池是空的,查看日志时发现是SQL执行异常

time="2022-05-05T10:24:52+08:00" level=error msg="query sql failed; host: 10.0.11
.123, port: 3306, user: root, query: show create table group, error: Error 1064::
You have an error in your SQL syntax; check the manual that corresponds to yourr
MySQL server version for the right syntax to use near 'group' at line 1\n" namee
=meta_iastdb thread_id=J90 type=audit_plan

time="2022-05-05T10:24:52+08:00" level=error msg="query sql failed; host: 10.0.11
.123, port: 3306, user: root, query: show create table group, error: Error 1064::
 You have an error in your SQL syntax; check the manual that corresponds to yourr
 MySQL server version for the right syntax to use near 'group' at line 1\n" namee
=meta_iastdb thread_id=J90 type=audit_plan
@CLAassistant
Copy link

CLAassistant commented May 5, 2022

CLA assistant check
All committers have signed the CLA.

@sjjian sjjian requested review from sjjian and HuangWeiCen May 5, 2022 03:00
@HuangWeiCen HuangWeiCen merged commit 0a12142 into actiontech:main May 6, 2022
@HuangWeiCen HuangWeiCen mentioned this pull request May 9, 2022
LordofAvernus pushed a commit that referenced this pull request Nov 6, 2023
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

Successfully merging this pull request may close these issues.

3 participants