Strabon

changeset 1460:5430aaf445b1 temporals

a missing else clause in the PostGISQueryBuilder caused a missing left argument
in the case of temporal binary functions.
author Stella Giannakopoulou <sgian@di.uoa.gr>
date Thu Jan 22 17:01:01 2015 +0200 (2015-01-22)
parents 0825ee10ae10
children a8b6e34e0a99
files postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java
line diff
     1.1 --- a/postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java	Thu Jan 22 13:24:43 2015 +0200
     1.2 +++ b/postgis/src/main/java/org/openrdf/sail/postgis/evaluation/PostGISQueryBuilder.java	Thu Jan 22 17:01:01 2015 +0200
     1.3 @@ -1800,6 +1800,10 @@
     1.4  					appendPeriod((GeneralDBLabelColumn)(expr.getLeftArg()),filter);	
     1.5  					filter.closeBracket();
     1.6  				}
     1.7 +				else
     1.8 +				{
     1.9 +					appendPeriod((GeneralDBLabelColumn)(expr.getLeftArg()),filter);
    1.10 +				}
    1.11  			}
    1.12  		
    1.13  			if(func.equals("=")|| func.equals("!=")|| func.equals("-")|| func.equals("+")|| func.equals("~")||