[Zope-DB] Setting max_rows and cache_time for SQLMethods on the file system

Andreas Jung lists at andreas-jung.com
Fri Jan 13 05:19:01 EST 2006

--On 13. Januar 2006 11:12:22 +0100 Michele Simionato 
<michele.simionato at gmail.com> wrote:
> I have discovered that the values in the dtml-comment are not honored:
> so if I change max_rows_ to a different value nothing happens.
> Zope always retrieve up to 1000 rows, which is the default value
> fixed somewhere: grepping a bit I discovered that there is a
> ``max_rows = 1000`` statement in Shared/DC/ZRDB/DA.py, but changing this
> had no effect, so it must be set somewhere else.

Because it must be "max_rows: 1000".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-db/attachments/20060113/d80eb2f4/attachment.bin

More information about the Zope-DB mailing list