Strabon
changeset 279:c63548e77745
print the actual SQL query for execution instead of the prepared one
author | Babis Nikolaou <charnik@di.uoa.gr> |
---|---|
date | Fri Jun 15 16:32:56 2012 +0300 (2012-06-15) |
parents | 962a764f64bb |
children | b50c41d76b1f |
files | postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISEvaluation.java |
line diff
1.1 --- a/postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISEvaluation.java Fri Jun 15 12:45:09 2012 +0300 1.2 +++ b/postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISEvaluation.java Fri Jun 15 16:32:56 2012 +0300 1.3 @@ -74,7 +74,9 @@ 1.4 result.setConstructIndexesAndNames(this.constructIndexesAndNames); 1.5 // 1.6 1.7 - logger.debug("In PostGIS Evaluation, query is: \n" + query); 1.8 + if (logger.isDebugEnabled()) { 1.9 + logger.debug("In PostGIS Evaluation, query is: \n" + stmt); 1.10 + } 1.11 return result; 1.12 } 1.13 catch (SQLException e) {