Re: how to get return value of update/delete

mike <[email protected]> Thu, 27 Oct 2005 10:07:15 +0800
Newsgroups gmane.comp.python.sybase
Message-ID <[email protected]>
hi
ok i have retried, redownload sybase-037, recompile and retested , but it
still gives me -1
as a workaround, i will just do a check on the "user" criteria as well as
check for existence of the
table to be updated before i actually do the update. This way i can more or
less be sure that it will definitely update.
thanks again

 On 10/26/05, Nidositko, James <[email protected]> wrote:
>
>
> Mistakenly sent last reply to list as HTML. Repeated here:
>
>
> Mike,
> I had some discussions earlier this year with Dave about fixing the
> rowcount stuff in the recent versions of the Sybase module (0.36 and 0.37
> ).
> I was under the impression that these fixes had been incorporated and
> released, but I did not check that before responding to your question.
> Sorry for the confusion.
>
> The last official version that I know of where rowcount() worked was
> 0.36-pre2. There were extensive changes to the structure of the code
> between that version and the actual 0.36 release. The rowcount problems
> were introduced by some of those changes and carried forward into 0.37.
>
> I'm assuming that you're using 0.37.
>
> The attached copy of Sybase.py fixes the rowcount issues. It is
> based on the version released with 0.37.
>
> Dave, any chance of getting an official release with rowcount()
> working?
>
> -Jim
>
> _______________________________________________
> Python-sybase mailing list
> [email protected]
> https://www.object-craft.com.au/cgi-bin/mailman/listinfo/python-sybase
>

_______________________________________________
Python-sybase mailing list
[email protected]
https://www.object-craft.com.au/cgi-bin/mailman/listinfo/python-sybase