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) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@126513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
1f7a4fb63d
commit
dd0c0f3d38
|
@ -299,10 +299,10 @@ static int mssql_connect(void)
|
|||
}
|
||||
|
||||
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);
|
||||
|
|
|
@ -1,16 +1,6 @@
|
|||
The cdr\_tds module is NOT compatible with version 0.63 of FreeTDS.
|
||||
|
||||
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 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 latest release of FreeTDS is available from http://www.freetds.org/
|
||||
|
|
Loading…
Reference in New Issue