Fix for rowcount
"hopfgartner" <[email protected]>
| Newsgroups | gmane.comp.python.sybase |
|---|---|
| Message-ID | <[email protected]> |
This should fix the problem I described in my previous posting. Basically, it seems that the rowcount value is never passed from the fetcher to the Cursor object. Hope this helps, Peter
Sybase-rowcount_fix.diff
(application/octet-stream, 384 B)
--- Sybase.py.orig 2003-04-27 12:54:35.000000000 +0200
+++ Sybase.py 2003-05-27 15:50:04.000000000 +0200
@@ -685,6 +685,7 @@
if status != CS_SUCCEED:
fetcher._raise_error(Error, 'ct_param')
self.description = fetcher.start(self.arraysize)
+ self.rowcount = fetcher.rowcount
finally:
self._unlock()