[jboss-jira] [JBoss JIRA] (DROOLS-105) Indexing may be broken with unification queries

Davide Sottara (JIRA) jira-events at lists.jboss.org
Thu Apr 18 22:53:53 EDT 2013


Davide Sottara created DROOLS-105:
-------------------------------------

             Summary: Indexing may be broken with unification queries
                 Key: DROOLS-105
                 URL: https://issues.jboss.org/browse/DROOLS-105
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 6.0.0.Beta1, 5.5.0.Final
            Reporter: Davide Sottara
            Assignee: Mario Fusco


In a query such as:

query foo( String $name, Foo $f )
  Bar( name == $name, $id : val )
  $f := Foo( id == $id )
end

assuming that Foo is insert first, it will be (right) indexed using the
value of its id property and its (this) hashcode

when the query is later being evaluated, however, the unbound output 
variable $f will be considered by the join node, resulting in a mismatch.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list