cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4296) CQL3: create table don't always validate access to the right keyspace
Date Wed, 30 May 2012 11:00:23 GMT

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

Jonathan Ellis commented on CASSANDRA-4296:
-------------------------------------------

+1
                
> CQL3: create table don't always validate access to the right keyspace
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-4296
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4296
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.1.0
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 1.1.1
>
>         Attachments: 4296.patch
>
>
> Create table allows (like other queries) to override the currently set keyspace ({{CREATE
TABLE foo.bar ...}}). However, when we do that, the access check is done on the wrong keyspace.
In particular if no keyspace was set, this end up in a NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message