cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Velykorodnyy (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4787) Escape characters in values for prepared statement
Date Fri, 12 Oct 2012 16:59:03 GMT

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

Ivan Velykorodnyy commented on CASSANDRA-4787:
----------------------------------------------

Right, as long as there are binary buffers passed no need to escape chars. This is nice and
sorry I should have tried it first. Thx
                
> Escape characters in values for prepared statement
> --------------------------------------------------
>
>                 Key: CASSANDRA-4787
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4787
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API, Core
>    Affects Versions: 1.1.5
>            Reporter: Ivan Velykorodnyy
>
> e.g. if I pass String value="abc'efg" as a parameter to prepared statement, would be
nice if API does escape substitution: "abc''efg".
> * Are there other characters to escape?
> * I think it should be default behavior for prepared statements.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message