Created attachment 448174 [details] Patch to fix the problem (already upstream) Description of problem: pymssql doesn't navigate correctly through several result-sets. Version-Release number of selected component (if applicable): 1.0.2-1.{fc12,fc13,el5} and 1.0.2-2.fc14 How reproducible: Always Steps to Reproduce: Small example that exposes the bug: ---------- import pymssql connection = pymssql.connect(host='somemachine', user='someuser', password='somepass', database='somedb') cursor = connection.cursor() ret = cursor.execute("select 1; select 2;") r = cursor.nextset() print r r = cursor.nextset() print r r = cursor.nextset() print r ---------- Actual results: ---------- 1 1 1 ---------- Expected results: ---------- 1 None None ---------- Additional info: The solution for this problem is already upstream and can be view/downloaded from the old project page (sourceforge). I also attached the patch to this ticket. * Web interface: http://pymssql.cvs.sourceforge.net/viewvc/pymssql/ * Patch: http://pymssql.cvs.sourceforge.net/viewvc/pymssql/pymssql/mssqldbmodule.c?r1=1.40&r2=1.41&view=patch
ping
Will take a look at this shortly.
(In reply to comment #2) > Will take a look at this shortly. Thanks. BTW: this problem is also reported upstream (http://code.google.com/p/pymssql/issues/detail?id=20) with a request for a version 1.0.3 containing the changes they have in Sourceforge's CVS/Bzr (where this patch already resides). Note: the future 2.0 version is now hosted in Google Code.
pymssql-1.0.2-3.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/pymssql-1.0.2-3.fc13
Please test via updates-testing as soon as it's ready or via koji pkg[1]. Hopefully this does the trick. [1] http://koji.fedoraproject.org/koji/taskinfo?taskID=2539485
pymssql-1.0.2-3.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/pymssql-1.0.2-3.fc14
pymssql-1.0.2-2.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/pymssql-1.0.2-2.fc12
pymssql-1.0.2-2.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/pymssql-1.0.2-2.el5
pymssql-1.0.2-3.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update pymssql'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/pymssql-1.0.2-3.fc13
(In reply to comment #5) > Please test via updates-testing as soon as it's ready or via koji pkg[1]. > Hopefully this does the trick. > > [1] http://koji.fedoraproject.org/koji/taskinfo?taskID=2539485 Ray, I successfully tested the new packages in all systems I had access to - Fedora 12, 13, and EPEL5. I also increased their respective karma in https://admin.fedoraproject.org/updates/. Regards, jpo
pymssql-1.0.2-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
pymssql-1.0.2-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
pymssql-1.0.2-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
pymssql-1.0.2-2.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.