En Wed, 22 Oct 2008 20:14:42 -0200, Gilles Ganault <[EMAIL PROTECTED]>
escribió:
On Wed, 22 Oct 2008 18:35:35 +0200, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
It is - the problem is that cursor.execute doesn't return what you
think... Truth is that according to the db-api specification, the return
value of cursor.execute is not defined (IOW : can be absolutely
anything).
OK, I'll check if I can find how to get the result from a SELECT
COUNT(*) and if not, use a different wrapper. Thanks a lot for the
embedded comments.
In case you didn't notice, B.D. already provided the answer you're after -
reread his 3rd paragraph from the end.
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list