Title: [commits] (vajda) [11268] - backported earlier index merging bug fixes to a3, requested by capps
Revision
11268
Author
vajda
Date
2006-07-26 15:36:58 -0700 (Wed, 26 Jul 2006)

Log Message

- backported earlier index merging bug fixes to a3, requested by capps

Modified Paths

Diff

Modified: branches/0.7alpha3/chandler/repository/item/Indexed.py (11267 => 11268)

--- branches/0.7alpha3/chandler/repository/item/Indexed.py	2006-07-26 22:16:15 UTC (rev 11267)
+++ branches/0.7alpha3/chandler/repository/item/Indexed.py	2006-07-26 22:36:58 UTC (rev 11268)
@@ -204,8 +204,7 @@
             _indexChanges = {}
 
             for indexName, index in indexes.iteritems():
-                if index._needsReindexing():
-                    _indexChanges[indexName] = dict(index._iterChanges())
+                _indexChanges[indexName] = dict(index._iterChanges())
 
             if _indexChanges:
                 indexChanges[name] = _indexChanges
@@ -232,6 +231,8 @@
             for key in others:
                 index.insertKey(key)
 
+        self._setDirty(True)
+
     def _createIndex(self, indexType, **kwds):
 
         if indexType == 'numeric':




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to