You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by GitBox <gi...@apache.org> on 2022/02/26 03:44:07 UTC

[GitHub] [incubator-inlong] binaryWorld opened a new issue #2736: [Bug]fix agent get task from manager

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: dev-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-inlong] dockerzhang closed issue #2736: [Bug][Manager] Agent get task from manager error

Posted by GitBox <gi...@apache.org>.
dockerzhang closed issue #2736:
URL: https://github.com/apache/incubator-inlong/issues/2736


   


-- 
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: dev-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org