Strabon

changeset 1420:37792dd7041b

CORRECT commit message: I de-activated evaluation of grounded expressions in SELECT queries in Java (see the respective #72 the reason I did so)
author Babis Nikolaou <charnik@di.uoa.gr>
date Mon Sep 22 18:25:16 2014 +0300 (2014-09-22)
parents f602e11d476f
children b1ad88fdf4a6
files generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBSelectQueryOptimizer.java
line diff
     1.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBSelectQueryOptimizer.java	Mon Sep 22 18:15:44 2014 +0300
     1.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBSelectQueryOptimizer.java	Mon Sep 22 18:25:16 2014 +0300
     1.3 @@ -991,8 +991,8 @@
     1.4  			GeneralDBSqlExpr sqlExpr = null;
     1.5  			String name = elem.getName();
     1.6  			
     1.7 -			//if (expr instanceof FunctionCall)
     1.8 -			if (expr instanceof FunctionCall && !isFuncExprGrounded(expr))
     1.9 +			if (expr instanceof FunctionCall)
    1.10 +			//if (expr instanceof FunctionCall && !isFuncExprGrounded(expr))
    1.11  			{ // if the expr is grounded we are going to evaluate it in Java 
    1.12  				if(!evaluateInJava(expr))
    1.13  				{