Re: Can I change the ZSQL max_rows default value?

Maciej Wisniowski <[email protected]>
Newsgroups gmane.comp.web.zope.database
Message-ID <[email protected]>
> We use Zope 2.8, still from ZMI. We ran into the 1000 limit several
> times. Instead of remembering to set it to a higher value, I would
> like to change the ZSQL max_rows default to 5000.
>
> Is it possible to do this?
A bit dirty hack but it is at:

lib/python/Shared/DC/ZRDB in class DA

If you want then you may modify 'max_rows' value there.

or override this in lib/Python/Products/ZSQLMethods

-- 
Maciej Wisniowski
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.