[ 
https://issues.apache.org/jira/browse/NIFI-5342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16562650#comment-16562650
 ] 

ASF subversion and git services commented on NIFI-5342:
-------------------------------------------------------

Commit e97ae921f759e51ee1709ef0884fc029bd40d26b in nifi's branch 
refs/heads/master from uday
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=e97ae92 ]

NIFI-5342 CaptureChangeMySQL didn't escape database name

Signed-off-by: Matthew Burgess <mattyb...@apache.org>

This closes #2923


> CaptureChangeMySQL didn't escape database name
> ----------------------------------------------
>
>                 Key: NIFI-5342
>                 URL: https://issues.apache.org/jira/browse/NIFI-5342
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Tanapol Nearunchorn
>            Assignee: Uday Kale
>            Priority: Major
>             Fix For: 1.8.0
>
>
> CaptureChangeMySQL didn't escape database name as you can see:
> [https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-cdc/nifi-cdc-mysql-bundle/nifi-cdc-mysql-processors/src/main/java/org/apache/nifi/cdc/mysql/processors/CaptureChangeMySQL.java#L1003]
>  
> And also with the line 1004, which query from a table.
> It can cause problems when there is database or table name that contains a 
> reserved keyword.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to