From: <an...@us...> - 2008-01-31 04:50:18
|
Revision: 17423 http://gallery.svn.sourceforge.net/gallery/?rev=17423&view=rev Author: andy_st Date: 2008-01-30 20:50:22 -0800 (Wed, 30 Jan 2008) Log Message: ----------- Adding todos for some scalability related issues Modified Paths: -------------- trunk/gallery2/modules/imageblock/classes/ImageBlockHelper.class Modified: trunk/gallery2/modules/imageblock/classes/ImageBlockHelper.class =================================================================== --- trunk/gallery2/modules/imageblock/classes/ImageBlockHelper.class 2008-01-31 04:38:46 UTC (rev 17422) +++ trunk/gallery2/modules/imageblock/classes/ImageBlockHelper.class 2008-01-31 04:50:22 UTC (rev 17423) @@ -547,6 +547,7 @@ /* Only use LIKE statement if necessary */ $parentSequence = null; if (isset($parentId) && $parentId != $rootAlbumId) { + /** @todo Evaluate adding parentSequence to the ImageBlockCachedMap (and its index) */ $where[] = '[GalleryItemAttributesMap::parentSequence] LIKE ?'; list ($ret, $sequence) = GalleryCoreApi::fetchParentSequence($parentId); if ($ret) { @@ -666,6 +667,7 @@ * Cache viewable data for user * @param int $userId * @return GalleryStatus a status code + * @todo Respect DisabledMap on INSERT such that we don't have to join the DisabledMap on SELECT */ function cacheViewableTree($userId) { global $gallery; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |