Re: [Modeling-users] "IN" and longs
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2003-07-29 19:45:35
|
Hi, Yannick Gingras <yan...@sa...> wrote: > Hi,=20 > you may experience a SQL Error when using QualifierOperatorIn with > long values on 0.9-pre-11. The following patch fix this problem : Oh my, when reading your message I knew this sounded like a deja-vu... After checking the archives I realized you already fixed that in a message dated the 15th of June. Then it leaked out of my brain :/ Thanks for reporting, your patch will be integrated in the next version (I've submitted ticket #779775 to sf's bug tracker so that I won't forget this time). -- S=E9bastien. > --- SQLExpression.py.old 2003-07-29 14:29:18.000000000 -0400 > +++ SQLExpression.py 2003-07-29 14:29:21.000000000 -0400 > @@ -1232,7 +1232,7 @@ > if len(aList)=3D=3D1: > return '(%s)'%aList[0] > else: > return str(tuple(aList)) > + return "(%s)" % ", ".join(map(str, aList)) >=20 > def sqlStringForNegatedQualifier(self, aQualifier): > """ |