cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Stump (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6952) Cannot bind variables to USE statements
Date Sat, 29 Mar 2014 05:11:15 GMT
Matt Stump created CASSANDRA-6952:
-------------------------------------

             Summary: Cannot bind variables to USE statements
                 Key: CASSANDRA-6952
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6952
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Matt Stump
            Priority: Minor


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.2#6252)

Mime
View raw message