[Zope-Checkins] CVS: Zope/lib/python/Products/ZCTextIndex -
Lexicon.py:1.20
Casey Duncan
casey at zope.com
Fri Apr 30 09:21:13 EDT 2004
Update of /cvs-repository/Zope/lib/python/Products/ZCTextIndex
In directory cvs.zope.org:/tmp/cvs-serv11967
Modified Files:
Lexicon.py
Log Message:
Update comment re MVCC
=== Zope/lib/python/Products/ZCTextIndex/Lexicon.py 1.19 => 1.20 ===
--- Zope/lib/python/Products/ZCTextIndex/Lexicon.py:1.19 Thu Jun 5 15:43:54 2003
+++ Zope/lib/python/Products/ZCTextIndex/Lexicon.py Fri Apr 30 09:21:10 2004
@@ -64,7 +64,8 @@
self.length = Length(self.length())
# Strategically unload the length value so that we get the most
# recent value written to the database to minimize conflicting wids
- # XXX this will not work when MVCC is implemented in the ZODB...
+ # Because length is independent, this will load the most
+ # recent value stored, regardless of whether MVCC is enabled
self.length._p_deactivate()
return map(self._getWordIdCreate, last)
More information about the Zope-Checkins
mailing list