From: <wol...@us...> - 2004-03-05 11:37:28
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xquery In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5368/src/org/exist/xquery Modified Files: XQueryContext.java 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: XQueryContext.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xquery/XQueryContext.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** XQueryContext.java 1 Mar 2004 13:20:35 -0000 1.6 --- XQueryContext.java 5 Mar 2004 11:15:29 -0000 1.7 *************** *** 519,522 **** --- 519,526 ---- } + public void setBroker(DBBroker broker) { + this.broker = broker; + } + /** * Get the user which executes the current query. |