binaryWorld opened a new issue #2736:
URL: https://github.com/apache/incubator-inlong/issues/2736
### What happened
### The error occurred while executing a query
### SQL: select detail.inlong_group_id,
detail.inlong_stream_id, detail.modify_time, detail.uuid,
detail.agent_ip, detail.status mod 100 as op, detail.id,
detail.source_type, detail.snapshot, detail.ext_params,
from stream_source detail, where detail.is_deleted = 0
and detail.agent_ip = ? and detail.uuid
= ? and (floor(detail.STATUS / 100) = 2)
### Cause: java.sql.SQLException: sql injection violation, dbType mysql, ,
druid-version 1.2.5, syntax error: ERROR. pos 330, line 13, column 10,
### What you expected to happen
### The error occurred while executing a query
### SQL: select detail.inlong_group_id,
detail.inlong_stream_id, detail.modify_time, detail.uuid,
detail.agent_ip, detail.status mod 100 as op, detail.id,
detail.source_type, detail.snapshot, detail.ext_params,
from stream_source detail, where detail.is_deleted = 0
and detail.agent_ip = ? and detail.uuid
= ? and (floor(detail.STATUS / 100) = 2)
### Cause: java.sql.SQLException: sql injection violation, dbType mysql, ,
druid-version 1.2.5, syntax error: ERROR. pos 330, line 13, column 10,
### How to reproduce
fix SQL
### Environment
_No response_
### InLong version
1.0.0
### InLong Component
InLong Manager
### Are you willing to submit PR?
- [X] Yes, I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]