I am getting a very large rowcount from all of my cursor objects and have no idea why. The number is always 18446744073709551615.
Any ideas on what's up?
Using the standard cursor? What versions of MySQL, MySQLdb, Python? What platform?
Sorry for the lack of details. Running MySQL5, Python 2.4, and 1.2.1 of MySQLdb. I'm also using SSDictCursor.
cursor.rowcount does not work for SSCursor or any variant until all rows have been fetched.
http://dev.mysql.com/doc/refman/5.0/en/mysql-num-rows.html
Doh! That makes such complete sense and I totally spaced it. Thanks a bunch!
Log in to post a comment.
I am getting a very large rowcount from all of my cursor objects and have no idea why. The number is always 18446744073709551615.
Any ideas on what's up?
Using the standard cursor? What versions of MySQL, MySQLdb, Python? What platform?
Sorry for the lack of details. Running MySQL5, Python 2.4, and 1.2.1 of MySQLdb. I'm also using SSDictCursor.
cursor.rowcount does not work for SSCursor or any variant until all rows have been fetched.
http://dev.mysql.com/doc/refman/5.0/en/mysql-num-rows.html
Doh! That makes such complete sense and I totally spaced it. Thanks a bunch!