Changeset: 7e9c14fbca7c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=7e9c14fbca7c
Modified Files:
        monetdb5/optimizer/opt_geospatial.c
Branch: geo
Log Message:

added romulos contains in the optimizer


diffs (12 lines):

diff --git a/monetdb5/optimizer/opt_geospatial.c 
b/monetdb5/optimizer/opt_geospatial.c
--- a/monetdb5/optimizer/opt_geospatial.c
+++ b/monetdb5/optimizer/opt_geospatial.c
@@ -73,7 +73,7 @@ int OPTgeospatialImplementation(Client c
 
                //chech the module and function name
                if(getModuleId(oldInstrPtr[i]) && 
!strcasecmp(getModuleId(oldInstrPtr[i]),"batgeom"))   {
-                       if(strcasecmp(getFunctionId(oldInstrPtr[i]), 
"contains1") == 0)  {
+                       if((strcasecmp(getFunctionId(oldInstrPtr[i]), 
"contains1") == 0) || (strcasecmp(getFunctionId(oldInstrPtr[i]), "contains2") 
== 0))  {
                                if(oldInstrPtr[i]->argc == 5) {
                                        //call all necessary intructions for 
the filter and the evaluation of the spatial relation      
                                        createFilterInstruction(mb, 
oldInstrPtr, i, getArg(oldInstrPtr[i],1));
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to