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

Benjamin Lerer updated CASSANDRA-6952:
--------------------------------------
    Component/s: CQL

> Cannot bind variables to USE statements
> ---------------------------------------
>
>                 Key: CASSANDRA-6952
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6952
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: CQL
>            Reporter: Matt Stump
>            Assignee: Benjamin Lerer
>            Priority: Minor
>              Labels: cql3
>             Fix For: 2.0.12, 2.1.3
>
>         Attachments: CASSANDRA-6952-2.0.txt, CASSANDRA-6952-2.1.txt
>
>
> Attempting to bind a variable for a USE query results in a syntax error.
> Example Invocation:
> {code}
> ResultSet result = session.execute("USE ?", "system");
> {code}
> Error:
> {code}
> ERROR SYNTAX_ERROR: line 1:4 no viable alternative at input '?', v=2
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to