Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-4296

CQL3: create table don't always validate access to the right keyspace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.1
    • Legacy/CQL
    • None
    • Low

    Description

      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.

      Attachments

        1. 4296.patch
          3 kB
          Sylvain Lebresne

        Activity

          People

            slebresne Sylvain Lebresne
            slebresne Sylvain Lebresne
            Sylvain Lebresne
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: