Holen Sie sich die Zeile betroffen MySQL
SELECT ROW_COUNT() AS 'Affected rows';
Silly Skylark
SELECT ROW_COUNT() AS 'Affected rows';
cursor.rowcount # would give you the rows affected