See these two python code snippets,
conn = MySQLdb.connect(c['host'], c['user'], c['password'], c['db'])
cur = conn.cursor()
cur.execute("select * from geo_weathers;) -> **1147L**
and
conn = MySQLdb.connect(c['host'], c['user'], c['password'], c['db'], cursorclass=MySQLdb.cursors.SSCursor)
cur = conn.cursor()
cur.execute("select * from geo_weathers") -> **18446744073709551615L**
Why the returned number of rows are different in above two cases ? And just FYI there are 1147 rows in a table.
SSCursor is used for saving result at servers side. Is it the reason ? What all rows are affected by this select query ?
Does anyone know ?