[svn-commits] seanbright: trunk r126513 - in /trunk: cdr/cdr_tds.c doc/tex/freetds.tex

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 30 06:57:42 CDT 2008


Author: seanbright
Date: Mon Jun 30 06:57:42 2008
New Revision: 126513

URL: http://svn.digium.com/view/asterisk?view=rev&rev=126513
Log:
Cast a few more strings to char *, so that we can compile cleanly against
FreeTDS 0.60.  Update the docs to reflect that we can now compile and run
against all modern releases of FreeTDS (0.60 through 0.82)

Modified:
    trunk/cdr/cdr_tds.c
    trunk/doc/tex/freetds.tex

Modified: trunk/cdr/cdr_tds.c
URL: http://svn.digium.com/view/asterisk/trunk/cdr/cdr_tds.c?view=diff&rev=126513&r1=126512&r2=126513
==============================================================================
--- trunk/cdr/cdr_tds.c (original)
+++ trunk/cdr/cdr_tds.c Mon Jun 30 06:57:42 2008
@@ -299,10 +299,10 @@
 	}
 
 	DBSETLAPP(login,     "TSQL");
-	DBSETLUSER(login,    settings->username);
-	DBSETLPWD(login,     settings->password);
-	DBSETLCHARSET(login, settings->charset);
-	DBSETLNATLANG(login, settings->language);
+	DBSETLUSER(login,    (char *) settings->username);
+	DBSETLPWD(login,     (char *) settings->password);
+	DBSETLCHARSET(login, (char *) settings->charset);
+	DBSETLNATLANG(login, (char *) settings->language);
 
 	if ((settings->dbproc = dbopen(login, (char *) settings->hostname)) == NULL) {
 		ast_log(LOG_ERROR, "Unable to connect to %s\n", settings->hostname);

Modified: trunk/doc/tex/freetds.tex
URL: http://svn.digium.com/view/asterisk/trunk/doc/tex/freetds.tex?view=diff&rev=126513&r1=126512&r2=126513
==============================================================================
--- trunk/doc/tex/freetds.tex (original)
+++ trunk/doc/tex/freetds.tex Mon Jun 30 06:57:42 2008
@@ -1,16 +1,6 @@
-The cdr\_tds module is NOT compatible with version 0.63 of FreeTDS.
+The cdr\_tds module now works with most modern release versions of FreeTDS (from
+at least 0.60 through 0.82).  Although versions of FreeTDS prior to 0.82 will
+work, we recommend using the latest available version for performance and
+stability reasons.
 
-The cdr\_tds module is known to work with FreeTDS version 0.62.1;
-it should also work with 0.62.2, 0.62.3 and 0.62.4, which are bug
-fix releases.
-
-The cdr\_tds module uses the raw "libtds" API of FreeTDS. It appears
-that from 0.63 onwards, this is not considered a published API
-of FreeTDS and is subject to change without notice.
-
-Between 0.62.x and 0.63 of FreeTDS, many incompatible changes
-have been made to the libtds API.
-
-For newer versions of FreeTDS, it is recommended that you use the
-ODBC driver.
-
+The latest release of FreeTDS is available from http://www.freetds.org/




More information about the svn-commits mailing list