From: <wol...@us...> - 2004-03-05 11:37:28
|
Update of /cvsroot/exist/eXist-1.0/samples/xquery In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5368/samples/xquery Modified Files: display-collections.xq Log Message: Fixed some synchronization issues in the XQuery engine: * Compiled XQuery expressions are no longer shared between different threads. The XQuery cache in XQueryServlet and XQueryGenerator is declared as thread local now. * The XQueryContext of a compiled XQuery now gets the correct database broker object set. Index: display-collections.xq =================================================================== RCS file: /cvsroot/exist/eXist-1.0/samples/xquery/display-collections.xq,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** display-collections.xq 16 Feb 2004 13:02:44 -0000 1.2 --- display-collections.xq 5 Mar 2004 11:15:27 -0000 1.3 *************** *** 19,27 **** { for $r in $resources - let $d := document(concat(coll:get-name($collection), "/", $r)) return ! <resource name="{$r}"> ! {$d} ! </resource> } </resources> --- 19,24 ---- { for $r in $resources return ! <resource name="{$r}"/> } </resources> |