Re: mysqldb: Rows READ or Processed

2008-02-06 Thread Carsten Haese
On Wed, 2008-02-06 at 21:35 -0500, Steve Holden wrote: > Carsten Haese wrote: > > On Wed, 2008-02-06 at 18:53 -0500, Steve Holden wrote: > >> If you mean the number of (say) rows updated by a SQL UPDATE statement, > >> the DB API does not provide any way to access that information > > > > It does

Re: mysqldb: Rows READ or Processed

2008-02-06 Thread Steve Holden
Carsten Haese wrote: > On Wed, 2008-02-06 at 18:53 -0500, Steve Holden wrote: >> If you mean the number of (say) rows updated by a SQL UPDATE statement, >> the DB API does not provide any way to access that information > > It doesn't? Isn't that what cursor.rowcount does? > When it works, yes. P

Re: mysqldb: Rows READ or Processed

2008-02-06 Thread mcl
On Feb 7, 12:19 am, Carsten Haese <[EMAIL PROTECTED]> wrote: > On Wed, 2008-02-06 at 14:51 -0800, mcl wrote: > > I have looked through Python Database API Specification v2.0, but can > > not find any reference to the number of records processed in a select > > query. > > > I know I can get the numb

Re: mysqldb: Rows READ or Processed

2008-02-06 Thread Carsten Haese
On Wed, 2008-02-06 at 14:51 -0800, mcl wrote: > I have looked through Python Database API Specification v2.0, but can > not find any reference to the number of records processed in a select > query. > > I know I can get the number of records returned with cursor.rowcount, > but I want to know the

Re: mysqldb: Rows READ or Processed

2008-02-06 Thread Carsten Haese
On Wed, 2008-02-06 at 18:53 -0500, Steve Holden wrote: > If you mean the number of (say) rows updated by a SQL UPDATE statement, > the DB API does not provide any way to access that information It doesn't? Isn't that what cursor.rowcount does? -- Carsten Haese http://informixdb.sourceforge.net

Re: mysqldb: Rows READ or Processed

2008-02-06 Thread Steve Holden
mcl wrote: > I have looked through Python Database API Specification v2.0, but can > not find any reference to the number of records processed in a select > query. > > I know I can get the number of records returned with cursor.rowcount, > but I want to know the number of records processed. > If

mysqldb: Rows READ or Processed

2008-02-06 Thread mcl
I have looked through Python Database API Specification v2.0, but can not find any reference to the number of records processed in a select query. I know I can get the number of records returned with cursor.rowcount, but I want to know the number of records processed. I suppose the info is in one