4 Sep 2011 04:29
Cannot Use DBVERSION_72 With DBLIB In 0.91 Release
Ken Collins <ken <at> metaskills.net>
2011-09-04 02:29:43 GMT
2011-09-04 02:29:43 GMT
I just recently found out that I have been testing TinyTDS using DBVERSION_71/DBVERSION_80 on all my databases versions from 2000-2008 & Azure and I decided I needed to try out the DBVERSION_72 since my main focus is on 2005 and up. I have run into the following issues: 1) I can not configure FreeTDS --with-tdsver="7.2". Is this an oversight? 2) I found out that dbsetversion is basically a no-op that sets a global. However, it has not been updated with DBVERSION_72 and was throwing a bunch of "FreeTDS: db-lib: exiting because client error handler returned INT_EXIT for msgno 20206" which was misleading. Should it be patched like so? --- dblib.c +++ (clipboard) <at> <at> -5801,8 +5801,8 <at> <at> case DBVERSION_42: case DBVERSION_46: case DBVERSION_100: - case DBVERSION_70: - case DBVERSION_80: + case DBVERSION_71: + case DBVERSION_72: g_dblib_version = version; return SUCCEED; default: 3) Even if I do not use dbsetversion and avoid the problem above and instead rely on dbsetlversion(DBVERSION_72), I can not get a connection. The message is "TDS version downgraded to 7.1!" and it is driving me nuts. I consistently get this error weather I use the TDSVER environment variable, freetds.conf setting, etc. Any insight?(Continue reading)
RSS Feed