On Wed, Aug 01, 2007 at 08:28:06AM +0200, Johan Carlsson wrote:
> -if self.ops['limit'] is not NoDefault:
> -end = start + limit
> +if self.ops['limit'] not in (NoDefault, None):
> +end = start + self.ops['limit']
As far as I can see the default for "limi
Hi!
On Wed, Aug 01, 2007 at 08:28:06AM +0200, Johan Carlsson wrote:
> +if self.ops['limit'] not in (NoDefault, None):
How have you got None for the limit?
> +end = start + self.ops['limit']
Yes, that's a bug.
Oleg.
--
Oleg Broytmannhttp://phd.pp.ru/
Hi guys,
I've found a but in sqlbuilder.Select (tracker #1764739),
I've patch it locally like this:
-if self.ops['limit'] is not NoDefault:
-end = start + limit
+if self.ops['limit'] not in (NoDefault, None):
+end = start + self.ops['limit']
Should (could)