You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Sean Timm (JIRA)" <ji...@apache.org> on 2010/02/10 04:14:27 UTC

[jira] Created: (SOLR-1767) DataImportHandler: dataimporter.functions.escapeSql

DataImportHandler: dataimporter.functions.escapeSql
---------------------------------------------------

                 Key: SOLR-1767
                 URL: https://issues.apache.org/jira/browse/SOLR-1767
             Project: Solr
          Issue Type: Bug
            Reporter: Sean Timm




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


[jira] Updated: (SOLR-1767) DataImportHandler: dataimporter.functions.escapeSql() does not escape backslash character

Posted by "Sean Timm (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (SOLR-1767) DataImportHandler: dataimporter.functions.escapeSql() does not escape backslash character

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul reassigned SOLR-1767:
--------------------------------

    Assignee: Noble Paul

> 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
>            Assignee: Noble Paul
>             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.


[jira] Resolved: (SOLR-1767) DataImportHandler: dataimporter.functions.escapeSql() does not escape backslash character

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Noble Paul resolved SOLR-1767.
------------------------------

    Resolution: Fixed

committed r908357
Thanks Sean Timm

> 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
>            Assignee: Noble Paul
>             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.


[jira] Updated: (SOLR-1767) DataImportHandler: dataimporter.functions.escapeSql() does not escape backslash character

Posted by "Sean Timm (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

               Labels: dih  (was: )
          Component/s: contrib - DataImportHandler
        Fix Version/s: 1.5
          Description: 
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
    Affects Version/s: 1.4
              Summary: DataImportHandler: dataimporter.functions.escapeSql() does not escape backslash character  (was: DataImportHandler: dataimporter.functions.escapeSql)

> 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
>
>
> 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.