From: Wolfgang M. M. <wol...@us...> - 2004-07-12 17:18:20
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xquery/value In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32480/src/org/exist/xquery/value Modified Files: IntegerValue.java Log Message: Various concurrency-related bug fixes: * there has been a conflicting access to the owner property in class DOMFile: in some cases, a second thread set the property to itself while another thread has been in the process of writing data. As the owner object is used to determine the current page in the document, the writing thread used a wrong data page (for a very short period). Thus, one or two document nodes got lost. * a number of small caching problems in dom.dbx led to inconsistencies in the db. Also, queries using string-equality comparisons did not use the cache, so increasing the cache size had no positive effect on query speed. Index: IntegerValue.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xquery/value/IntegerValue.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** IntegerValue.java 7 Jul 2004 17:15:46 -0000 1.6 --- IntegerValue.java 12 Jul 2004 17:17:40 -0000 1.7 *************** *** 26,33 **** import org.exist.xquery.XPathException; ! /** [Definition:] integer is ·derived· from decimal by fixing the value of ·fractionDigits· to be 0. * This results in the standard mathematical concept of the integer numbers. ! * The ·value space· of integer is the infinite set {...,-2,-1,0,1,2,...}. ! * The ·base type· of integer is decimal. * cf http://www.w3.org/TR/xmlschema-2/#integer */ --- 26,33 ---- import org.exist.xquery.XPathException; ! /** [Definition:] integer is �derived� from decimal by fixing the value of �fractionDigits� to be 0. * This results in the standard mathematical concept of the integer numbers. ! * The �value space� of integer is the infinite set {...,-2,-1,0,1,2,...}. ! * The �base type� of integer is decimal. * cf http://www.w3.org/TR/xmlschema-2/#integer */ |