On Wed, Mar 16, 2011 at 02:33:48PM -0400, Joe Lanese wrote:
> I just came across the exact same problem using the mssql connection
> (mssqlconnection.py).  More specifically the problem occured when I tried to
> access the first returned row of a selectResults (ie. selResults[0]).  I
> tried the same solution below in the mssqlconnection.py file, and it solved
> the problem.
> 
> Can this fix also be applied to the official mssql support?
> 
> > On Fri, Dec 18, 2009 at 01:19:25AM +0100, Petr Jake?? wrote:
> > Index: firebirdconnection.py
> > ===================================================================
> > --- firebirdconnection.py       (revision 4047)
> > +++ firebirdconnection.py       (working copy)
> > @@ -10,6 +10,8 @@
> >     dbName = 'firebird'
> >     schemes = [dbName]
> >
> > +    limit_re = re.compile('^\s*(select )(.*)', re.IGNORECASE)

   Thank you, I'll apply the patch tomorrow. New releases will be
released in a few days.

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            p...@phdru.name
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to