cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject git commit: Fix typo in patch for #5081
Date Wed, 06 Mar 2013 08:20:34 GMT
Updated Branches:
  refs/heads/cassandra-1.2 06699d47b -> 86e2cc579


Fix typo in patch for #5081


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

Branch: refs/heads/cassandra-1.2
Commit: 86e2cc579d4627f45334e401e3dda65f9cf3dbb5
Parents: 06699d4
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Wed Mar 6 09:20:26 2013 +0100
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Wed Mar 6 09:20:26 2013 +0100

----------------------------------------------------------------------
 .../cassandra/cql3/statements/UpdateStatement.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/86e2cc57/src/java/org/apache/cassandra/cql3/statements/UpdateStatement.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cql3/statements/UpdateStatement.java b/src/java/org/apache/cassandra/cql3/statements/UpdateStatement.java
index 7dbd14a..8a5595a 100644
--- a/src/java/org/apache/cassandra/cql3/statements/UpdateStatement.java
+++ b/src/java/org/apache/cassandra/cql3/statements/UpdateStatement.java
@@ -180,7 +180,7 @@ public class UpdateStatement extends ModificationStatement
             {
                 for (Term t : values)
                 {
-                    ByteBuffer val = values.get(0).bindAndGet(variables);
+                    ByteBuffer val = t.bindAndGet(variables);
                     if (val == null)
                         throw new InvalidRequestException(String.format("Invalid null value
for partition key part %s", name));
                     keys.add(keyBuilder.copy().add(val).build());


Mime
View raw message