How can I access the number of rows affected by:
cursor.execute(\"SELECT COUNT(*) from result where server_state=\'2\' AND name LIKE \'\"+digest+\"_\"+charse
To get the number of selected rows I usually use the following:
cursor.execute(sql) count = (len(cursor.fetchall))