[ 
https://issues.apache.org/jira/browse/SOLR-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Timm updated SOLR-1767:
----------------------------

    Attachment: SOLR-1767.patch

adds escaping of backslash with a test case.

> DataImportHandler: dataimporter.functions.escapeSql() does not escape 
> backslash character
> -----------------------------------------------------------------------------------------
>
>                 Key: SOLR-1767
>                 URL: https://issues.apache.org/jira/browse/SOLR-1767
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>            Reporter: Sean Timm
>             Fix For: 1.5
>
>         Attachments: SOLR-1767.patch
>
>
> MySQL requires that the backslash and the quote character used to quote the 
> string in the query be escaped.  Currently only single and double quotes are 
> escaped.
> See: http://dev.mysql.com/doc/refman/4.1/en/mysql-real-escape-string.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to