Bugs item #1712595, was opened at 2007-05-04 11:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1712595&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Maurice van Keulen (mvankeulen)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error mposjoin: missing matches

Initial Comment:
[milprint_summer backend]

Query below fails for attached document
declare function deep-equal($node1 as node(), $node2 as node())
   as xs:boolean
{
   let $e1 := $node1/descendant-or-self::element()
      ,$e2 := $node2/descendant-or-self::element()
   return
      if (count($e1) eq count($e2))
      then let $e1s := for $e in $e1 return ($e/name(),$e/string())
              ,$e2s := for $e in $e2 return ($e/name(),$e/string())
           return string-join($e1s,",") eq string-join($e2s,",")
      else false()
};

let $doc := doc("imdb2.xml")
return deep-equal(<a>{$doc}</a>,<a>{$doc}</a>)

Error message is:

ERROR = !ERROR: mposjoin: missing matches. The result requires the same number 
of tuples as the first two input arguments: 2 < 20.
        !ERROR: CMDmposjoin: operation failed.

Mserver -d10 does not provide any additional info.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1712595&group_id=56967

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to