inlong icon indicating copy to clipboard operation
inlong copied to clipboard

[Bug][Manager] Agent get task from manager error

Open binaryWorld opened this issue 4 years ago • 0 comments

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

No error occurred while executing a query.

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

binaryWorld avatar Feb 26 '22 03:02 binaryWorld