[dev] limit for DataThree::getByAttributes()
Duck
duck at obala.net
Sun Aug 29 08:39:54 PDT 2004
patch adds limit from/to parameters to DataThree::getByAttributes() by calling
DB::modifyLimitQuery(). So we can retrieve the desiderated amount of data
from DataThree backend.
While making the patch I discovered that DataThree (CVS from 28.8) retrieves
the data twice.
For example:
datatree_id, datatree_name
21 adf
21 adf
22 adfadfad
22 adfadfad
The problem is later hidden because we store the data in an index array and
the double values are overwritten.
Duck
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getAttCount.patch
Type: text/x-diff
Size: 1266 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20040829/a1831ac6/getAttCount.bin
More information about the dev
mailing list