Changeset 736:5a75cb827014


Ignore:
Timestamp:
11/24/12 00:33:50 (5 years ago)
Author:
Konstantina
Branch:
temporals
Message:

trying to get rid of extra joins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generaldb/src/main/java/org/openrdf/sail/generaldb/optimizers/GeneralDBValueJoinOptimizer.java

    r724 r736  
    262262                        { 
    263263                GeneralDBColumnVar var = node.getRdbmsVar(); 
    264                 String alias = "g" + getDBName(var); 
    265                 String tableName = literals.getLanguageTable().getName(); 
    266                 join(var, alias, tableName); 
     264                if(!var.isTemporal()) 
     265                { 
     266                        String alias = "g" + getDBName(var); 
     267                        String tableName = literals.getLanguageTable().getName(); 
     268                        join(var, alias, tableName); 
     269                 
     270                } 
    267271                        } 
    268272 
Note: See TracChangeset for help on using the changeset viewer.