cursor.execute*() should return the cursor.rowcount

Bug #441430 reported by Geert JM Vanderkelen
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MySQL Connector/Python
Fix Released
Low
Geert JM Vanderkelen

Bug Description

PEP249 doesn't define what cursor.execute*() should return, but we should keep compatible with what MySQLdb is returning, namely the cursor.rowcount

cursor.executemany() in MySQLdb returns the sum of rowcount of each run.

Tags: compat cursor

Related branches

tags: added: compat cursor
Changed in myconnpy:
status: Confirmed → Fix Committed
Changed in myconnpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.