cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tylerho...@apache.org
Subject [1/3] git commit: Ninja: add missing string format placeholder
Date Wed, 28 May 2014 22:43:58 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 4fb71d9c4 -> 4b9fde93d


Ninja: add missing string format placeholder


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

Branch: refs/heads/trunk
Commit: 50599d225f4767a43a6f06974395148f31fab595
Parents: d31c29c
Author: Tyler Hobbs <tyler@datastax.com>
Authored: Wed May 28 17:42:22 2014 -0500
Committer: Tyler Hobbs <tyler@datastax.com>
Committed: Wed May 28 17:42:22 2014 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/cql3/statements/SelectStatement.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/50599d22/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java b/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
index a14782f..8f061d2 100644
--- a/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
+++ b/src/java/org/apache/cassandra/cql3/statements/SelectStatement.java
@@ -1574,7 +1574,7 @@ public class SelectStatement implements CQLStatement, MeasurableForPreparedCache
                         if (restriction == null)
                             restriction = new MultiColumnRestriction.Slice(onToken);
                         else if (!restriction.isMultiColumn())
-                            throw new InvalidRequestException(String.format("Column \"%s\"
cannot have both tuple-notation inequalities and single-column inequalities", name, relation));
+                            throw new InvalidRequestException(String.format("Column \"%s\"
cannot have both tuple-notation inequalities and single-column inequalities: %s", name, relation));
                         restriction.setBound(relation.operator(), t);
                         stmt.columnRestrictions[name.position] = restriction;
                     }


Mime
View raw message