manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1476057 - /manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfacePostgreSQL.java
Date Fri, 26 Apr 2013 06:15:51 GMT
Author: kwright
Date: Fri Apr 26 06:15:51 2013
New Revision: 1476057

URL: http://svn.apache.org/r1476057
Log:
Oops, diagnostic output was not useful - fixed

Modified:
    manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfacePostgreSQL.java

Modified: manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfacePostgreSQL.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfacePostgreSQL.java?rev=1476057&r1=1476056&r2=1476057&view=diff
==============================================================================
--- manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfacePostgreSQL.java
(original)
+++ manifoldcf/trunk/framework/core/src/main/java/org/apache/manifoldcf/core/database/DBInterfacePostgreSQL.java
Fri Apr 26 06:15:51 2013
@@ -1247,9 +1247,7 @@ public class DBInterfacePostgreSQL exten
       for (int k = 0; k < x.getRowCount(); k++)
       {
         IResultRow row = x.getRow(k);
-        Iterator<String> iter = row.getColumns();
-        String colName = (String)iter.next();
-        Logging.db.warn(" Stats: "+row.getValue(colName).toString());
+        Logging.db.warn(" Stats: n_distinct="+row.getValue("n_distinct").toString()+" most_common_vals="+row.getValue("most_common_vals").toString()+"
most_common_freqs="+row.getValue("most_common_freqs").toString());
       }
       Logging.db.warn("");
     }



Mime
View raw message