You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by cl...@apache.org on 2019/08/14 19:09:39 UTC
[cassandra] branch trunk updated: Remove bad virtual table result
check
This is an automated email from the ASF dual-hosted git repository.
clohfink pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new fcb4d52 Remove bad virtual table result check
fcb4d52 is described below
commit fcb4d52403a3de893eb2813468a788b0c8fa6fc7
Author: Chris Lohfink <cl...@apple.com>
AuthorDate: Wed Aug 14 14:07:40 2019 -0500
Remove bad virtual table result check
Patch by Chris Lohfink; Reviewed by Blake Eggleston for CASSANDRA-15279
---
src/java/org/apache/cassandra/db/virtual/SimpleDataSet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/java/org/apache/cassandra/db/virtual/SimpleDataSet.java b/src/java/org/apache/cassandra/db/virtual/SimpleDataSet.java
index 6cead97..00acaed 100644
--- a/src/java/org/apache/cassandra/db/virtual/SimpleDataSet.java
+++ b/src/java/org/apache/cassandra/db/virtual/SimpleDataSet.java
@@ -73,7 +73,7 @@ public class SimpleDataSet extends AbstractVirtualTable.AbstractDataSet
{
if (null == currentRow)
throw new IllegalStateException();
- if (null == value || columnName == null)
+ if (null == columnName)
throw new IllegalStateException(String.format("Invalid column: %s=%s for %s", columnName, value, currentRow));
currentRow.add(columnName, value);
return this;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org