From: Bond, G. <Gre...@it...> - 2009-03-25 23:57:05
|
It's a regression from the refactoring that happened in 0.39. See https://sourceforge.net/tracker/?func=detail&aid=2165436&group_id=184050&atd =907701 https://sourceforge.net/mailarchive/forum.php?thread_name=C52210F9.5BA04%25G regory.Bond%40itg.com&forum_name=python-sybase-misc On 26/03/09 8:31 AM, "Glen Jackson" <gl...@be...> wrote: > After upgrading to ASE 15 and reinstalling python-sybase, my existing > scripts stopped working. The problem seems to be that the > "connection.query( sql )" method always returns None. A few key strokes > to change that to a cursor query and everything works fine - so the > connection is good, the query string is valid and there is no problem > with permissions. (The only real problem is that I have a strong > aversion to using cursors for simple queries that just return a single > simple value.) > > Has this behavior, or the syntax, changed in python-sybase 0.39? > > Glen Jackson > ========= > IST-Data Services > UC, Berkeley > > ------------------------------------------------------------------------------ > _______________________________________________ > Python-sybase-misc mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-sybase-misc -- Gregory Bond Vice President Product Manager, Middle & Back Office Systems ITG Australia Limited Investment Technology Group, Inc. -------------------------- Level 3, Rialto North Tower 525 Collins Street Melbourne VIC 3000 AUSTRALIA Ph. +61 3 9211 2518 Fax: +61 3 9211 2599 www.itg.com |