lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpoersc...@apache.org
Subject [20/21] lucene-solr git commit: SOLR-8625: SQL: Wrong error msg if stmt param is missing
Date Tue, 02 Feb 2016 09:53:32 GMT
SOLR-8625: SQL: Wrong error msg if stmt param is missing


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

Branch: refs/heads/master-solr-8621
Commit: c136bd7dc737096843ff538e172762026b895f5b
Parents: edf6659
Author: jbernste <jbernste@apache.org>
Authored: Mon Feb 1 16:52:01 2016 -0500
Committer: jbernste <jbernste@apache.org>
Committed: Mon Feb 1 16:52:01 2016 -0500

----------------------------------------------------------------------
 solr/core/src/java/org/apache/solr/handler/SQLHandler.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c136bd7d/solr/core/src/java/org/apache/solr/handler/SQLHandler.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/handler/SQLHandler.java b/solr/core/src/java/org/apache/solr/handler/SQLHandler.java
index 7aa8ce5..ec0ec77 100644
--- a/solr/core/src/java/org/apache/solr/handler/SQLHandler.java
+++ b/solr/core/src/java/org/apache/solr/handler/SQLHandler.java
@@ -109,7 +109,7 @@ public class SQLHandler extends RequestHandlerBase implements SolrCoreAware
{
     try {
 
       if(sql == null) {
-        throw new Exception("sql parameter cannot be null");
+        throw new Exception("stmt parameter cannot be null");
       }
 
       context.setSolrClientCache(StreamHandler.clientCache);


Mime
View raw message