incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cr...@apache.org
Subject git commit: Fixed a bug if the fetch returns no records
Date Thu, 12 Jun 2014 20:16:34 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/apache-blur-0.2 297ed8f56 -> bdf341726


Fixed a bug if the fetch returns no records


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

Branch: refs/heads/apache-blur-0.2
Commit: bdf3417265313229ce7fce1ec0450700cc8f0439
Parents: 297ed8f
Author: Chris Rohr <rohr.chris@gmail.com>
Authored: Thu Jun 12 16:16:30 2014 -0400
Committer: Chris Rohr <rohr.chris@gmail.com>
Committed: Thu Jun 12 16:16:30 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/console/util/SearchUtil.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/bdf34172/contrib/blur-console/src/main/java/org/apache/blur/console/util/SearchUtil.java
----------------------------------------------------------------------
diff --git a/contrib/blur-console/src/main/java/org/apache/blur/console/util/SearchUtil.java
b/contrib/blur-console/src/main/java/org/apache/blur/console/util/SearchUtil.java
index 6a72340..8e5a8b8 100644
--- a/contrib/blur-console/src/main/java/org/apache/blur/console/util/SearchUtil.java
+++ b/contrib/blur-console/src/main/java/org/apache/blur/console/util/SearchUtil.java
@@ -174,7 +174,7 @@ public class SearchUtil {
 			
 			Map<String, List> rows = new HashMap<String, List>();
 			Row row = fetchRow.getRowResult().getRow();
-			if (row != null) {
+			if (row != null && row.getRecords() != null) {
 				for (Record record : row.getRecords()) {
 					String family = record.getFamily();
 					


Mime
View raw message