cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [02/10] cassandra git commit: Ninja: add missing assignment in CassandraRoleManager
Date Fri, 11 Nov 2016 17:48:00 GMT
Ninja: add missing assignment in CassandraRoleManager


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/ebf35074
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/ebf35074
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/ebf35074

Branch: refs/heads/cassandra-3.0
Commit: ebf350740581cf0811fa78e10ae70e9640fa1476
Parents: 5e4198f
Author: Sam Tunnicliffe <sam@beobal.com>
Authored: Fri Nov 11 16:12:35 2016 +0000
Committer: Sam Tunnicliffe <sam@beobal.com>
Committed: Fri Nov 11 16:12:35 2016 +0000

----------------------------------------------------------------------
 src/java/org/apache/cassandra/auth/CassandraRoleManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/ebf35074/src/java/org/apache/cassandra/auth/CassandraRoleManager.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/auth/CassandraRoleManager.java b/src/java/org/apache/cassandra/auth/CassandraRoleManager.java
index a90b297..87aca21 100644
--- a/src/java/org/apache/cassandra/auth/CassandraRoleManager.java
+++ b/src/java/org/apache/cassandra/auth/CassandraRoleManager.java
@@ -511,7 +511,7 @@ public class CassandraRoleManager implements IRoleManager
             else
             {
                 if (legacySelectUserStatement == null)
-                    prepareLegacySelectUserStatement();
+                    legacySelectUserStatement = prepareLegacySelectUserStatement();
                 return getRoleFromTable(name, legacySelectUserStatement, LEGACY_ROW_TO_ROLE);
             }
         }


Mime
View raw message