Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

Commit

Permalink
Update comment re MVCC
Browse files Browse the repository at this point in the history
  • Loading branch information
caseman committed Apr 30, 2004
1 parent 1894b93 commit 6e20f3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lexicon.py
Expand Up @@ -64,7 +64,8 @@ def sourceToWordIds(self, text):
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)

Expand Down

0 comments on commit 6e20f3a

Please sign in to comment.