Получить ряд повлиял на MySQL
SELECT ROW_COUNT() AS 'Affected rows';
Silly Skylark
SELECT ROW_COUNT() AS 'Affected rows';
cursor.rowcount # would give you the rows affected