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

Pierre Chalamet commented on CASSANDRA-5468:
--------------------------------------------

works for me. Thanks.
                
> Prepared statements from default keyspace are broken
> ----------------------------------------------------
>
>                 Key: CASSANDRA-5468
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5468
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.4
>         Environment: Windows 8 x64, java 1.7.0_11 x64
>            Reporter: Pierre Chalamet
>            Assignee: Aleksey Yeschenko
>             Fix For: 1.2.5
>
>         Attachments: 5468.txt
>
>
> Tested under CQL 3 binary protocol.
> Preparing a statement from the default keyspace of the connection (statement 
> scoped with keyspace) and then running it will always throw the error "no 
> keyspace has been specified".
> {code}
> Exec: CREATE KEYSPACE Tests WITH replication = {'class': 'SimpleStrategy', 
> 'replication_factor' : 1}
> Exec: CREATE TABLE Tests.AllTypes (a int, b int, primary key (a))
> Prepare: insert into Tests.AllTypes (a, b) values (?, ?)
> {code}
> Exec prepared statement and exception "no keyspace has been specified" is 
> thrown.
> Doing a use Tests before preparing the statement solves the issue.
> This used to work in 1.2.3.

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

Reply via email to