Yeah this is what I did and it works. Was curious to know where the problem was. I guess I need to run through the code. Thanks Michael and all others!
On 7/31/07, Michael Bayer <[EMAIL PROTECTED]> wrote: > > > > On Jul 31, 2007, at 10:48 AM, Arun Kumar PG wrote: > > > As mentioned in my earlier email thread: > > > > I am using pool.QueuePool for managing connections and this pool is > > fed with a creator function which returns an instance of my own > > custom DBAPI class (I need this because of some logging stuff that > > I am doing). This custom DBAPI class returns a Connection object > > returned by MySQLdb.connect. > > > > >> we explicitly set an option on the MySQLDB connection > > >> so that rowcount works properly. > > Are you referring to the changes in sa/databases/mysql.py where in > > we are setting the 'client_flag' ? > > > > Quick question: the rowcount related update as mentioned by you > > will work even if I am creating an engine passing in a pool - right? > > if you set the flag yourself, (and your custom DBAPI class is passing > the flag all the way back to MySQLDB), itll work fine > > > > > > -- Cheers, - A --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---