[Chandler-dev] Re: [commits] (vajda) [11268] - backported earlier index merging bug fixes to a3, requested by capps

Katie Capps Parlante capps at osafoundation.org
Wed Jul 26 15:38:53 PDT 2006


FWIW, this applies to Bug 6266, r=capps

Cheers,
Katie

commits at osafoundation.org wrote:
> Revision
>     11268 <http://viewcvs.osafoundation.org/chandler?view=rev&rev=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
> 
>     * branches/0.7alpha3/chandler/repository/item/Indexed.py
>       <#branches07alpha3chandlerrepositoryitemIndexedpy>
> 
> 
>       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
> Commits at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/commits



More information about the chandler-dev mailing list