Using the following XQuery in MonetDb (WinXP) crashes on large documents
(when C1 and C2 are small it works ok):
 
>  <col> { 
>    for $b in doc("C1.xml")/collection/doc 
>    for $top in doc("C2.xml")/collection/doc
>    where ($b/year > 1950) and ($b/title = $top/title)
>    return 
>      <movie>
>        {$b/year}
>      </movie>
>  } </col>

If I remove one of the two conditions it works perfectly, e.g.:
 
>  <col> { 
>    for $b in doc("C1.xml")/collection/doc 
>    for $top in doc("C2.xml")/collection/doc
>    where ($b/title = $top/title)
>    return 
>      <movie>
>        {$b/year}
>      </movie>
>  } </col>

Can anyone explain this problem?
 

______________________________
Maarten Clements



 
-------------------------------------------------------------------------
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-users mailing list
MonetDB-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-users

Reply via email to