Obtener la fila afectada mysql
SELECT ROW_COUNT() AS 'Affected rows';
Silly Skylark
SELECT ROW_COUNT() AS 'Affected rows';
cursor.rowcount # would give you the rows affected