From: Sébastien S. <sa...@us...> - 2009-08-13 17:04:48
|
Hi Zsolt, a similar problem has recently been reported by someone else in the bug tracker at the following url: http://sourceforge.net/tracker/?func=detail&aid=2809032&group_id=184050&atid=907701 I will modify python-sybase in a coming version so that it supports all the functionalities of the Sybase version it is compiled with, by passing the maximum CS_VERSION_* value supported. You can track this evolution in the bug tracker at the provided url. regards -- Sébastien Sablé Cserna, Zsolt a écrit : > Hi all, > > We build python-sybase from source and would like to use the new features of sybase including kerberos authentication and large data fields (char, varchar sized over than 255 chars). As far as I know these features have been added to sybase openclient 12.5 and above, but not working for us with the original python-sybase source code. > > Is it working for you with the original source? I mean the kerberos authentication and the large data fields. > > It seemed to me that the extension contains some wired-in values, especially for ct_init and ct_alloc - both receive the version to be "emulated" as the first argument. Specifying the contstant CS_VERSION_100 (which I think means 10.0) to them as python-sybase does limits the package's functionality to 10.0 - disabling the new features coming with 12.5 or 15.0. > > I've modified these values to the values I needed and it's working for me, but these are still wired-in values, and I'm not entirely sure that that's the official solution for that. > > Are there any plans in the future to auto-detect the version of the openclient library and specify the highest version possible to ct_alloc and ct_init in python-sybase? > > Thanks, > Zsolt > > -------------------------------------------------------------------------- > NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Python-sybase-misc mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-sybase-misc |