From: Cserna, Z. <Zso...@Mo...> - 2009-08-11 14:23:15
|
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. |