You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Special thanks to Matt McNabb, Aaron M. Ucko and Craig A. Berry for their
many contributions to this release.
Many changes went in, the main ones are in BCP and CT-Library:
BCP got many improvements in both capability and correctness: new types
supported, better error reporting and better compatibility with the
proprietary libraries. Some data that was silently accepted before (too
long values, conversion errors) now gives a warning or error; better than
potentially corrupting data.
CT-Library error checking and reporting was improved quite a bit: more
errors are caught, and they are more similar to the SAP library.
Login and security: Extended Protection for Authentication (EPA), NTLM
updates and strict encryption for Sybase/SAP ASE.
Detailed changes
User visible (not in a particular order):
Generic:
(*) Fix certificate check for hostnames with wildcards (OpenSSL);
(*) Use CORK flag correctly, do not delay partial packets (lower latency);
(*) Fix bound check converting float to unsigned integers;
(*) Avoid overflow converting numeric to string;
(*) Fix bulk copy in for Microsoft XML type;
(*) Improve support for TDS 5 (Sybase) bulk transfers (defaults,
empty strings, text positions, row format errors);
(*) Fix ABI breakage for tdsdump_open under Windows, add tdsdump_wopen;
(*) Fix compatibility with Nettle 4 library;
(*) Prevent infinite loop when sending disconnect request;
Support Extended Protection for Authentication (EPA): channel binding
for NTLM, Kerberos and SSPI, using tls-server-end-point for TLS 1.3;
NTLM improvements:
add MIC and key exchange;
send target name (SPN), required by MSSQL in strict mode with EPA;
support empty domain (user principal names, \user@domain);
use Unicode upper case for NTLMv2 user names (non-ASCII names);
allow longer passwords in multibyte client charsets.
Use instance name, not port, for Kerberos/SSPI SPN;
Disable TLS v1.1 by default;
Do not override all GnuTLS settings, add gnutls ciphers configuration
to set the priority string;
Allow strict encryption for TDS 5.0 (Sybase SSL);
Support bulk copy into data rows locked tables for Sybase ASE;
Avoid some truncation on prepared statements and BCP insert;
Use proper collation for bulk inserts;
Add missing SQL collations;
Improve char to binary conversions (leading/trailing spaces,
odd number of digits);
Report incomplete multibyte sequences with their own error
(TDSEICONVPARTIAL, 2433) instead of 2401;
Report unavailable character set conversion at login;
Do not accept negative values for port, text size and timeouts;
Default to not flush the log file after each line (~3x faster logging),
set TDSDUMP_FLUSH to restore old behaviour;
Option (TDS_DEBUG_CRT_FILENAME) to dump Windows CRT debug logging to
a file;
Give error at configure time if iconv library is not found and not
explicitly disabled;
Windows MSI installer in AppVeyor artifacts.
ODBC:
(*) Accept any variable data type using DATA_AT_EXEC length;
(*) Fix inserting too much data with SQLPutData;
(*) Re-prepare a prepared query if it never returned a handle;
(*) Fix SQL_COPT_SS_OLDPWD attribute;
(*) Fix leak in SQLDriverConnect if string is invalid;
(*) Fix SQL_DESC_BIND_OFFSET_PTR handling;
(*) Update SQLGetInfo(SQL_DESCRIBE_PARAMETER);
(*) Make SQLSetDescField extend automatically the descriptor;
Add ServerCertificate and ConnectionTimeout connection attributes;
Configurable date/time formats for conversions to character
(DateTimeFmt, DateFmt, TimeFmt options and SQL_COPT_TDSODBC_DATETIME_FORMAT, ..._DATE_FORMAT, ..._TIME_FORMAT
attributes);
Return row count correctly in presence of triggers;
Tell Driver Manager we support server side cursors;
More compatibility for SQL_ATTR_QUERY_TIMEOUT attribute;
BCP: set charset conversion based on binding type, add missing types,
avoid crashes in bcp_bind with invalid terminators;
MARS: fix sliding window calculation, reuse MARS session until
statement is freed.
Applications:
(*) tsql: Avoid possible invalid type formatting a message;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Special thanks to Matt McNabb, Aaron M. Ucko and Craig A. Berry for their
many contributions to this release.
Many changes went in, the main ones are in BCP and CT-Library:
supported, better error reporting and better compatibility with the
proprietary libraries. Some data that was silently accepted before (too
long values, conversion errors) now gives a warning or error; better than
potentially corrupting data.
errors are caught, and they are more similar to the SAP library.
updates and
strictencryption for Sybase/SAP ASE.Detailed changes
User visible (not in a particular order):
empty strings, text positions, row format errors);
tdsdump_openunder Windows, addtdsdump_wopen;for NTLM, Kerberos and SSPI, using
tls-server-end-pointfor TLS 1.3;\user@domain);gnutls ciphersconfigurationto set the priority string;
strictencryption for TDS 5.0 (Sybase SSL);odd number of digits);
(
TDSEICONVPARTIAL, 2433) instead of 2401;set
TDSDUMP_FLUSHto restore old behaviour;TDS_DEBUG_CRT_FILENAME) to dump Windows CRT debug logging toa file;
explicitly disabled;
DATA_AT_EXEClength;SQLPutData;SQL_COPT_SS_OLDPWDattribute;SQLDriverConnectif string is invalid;SQL_DESC_BIND_OFFSET_PTRhandling;SQLGetInfo(SQL_DESCRIBE_PARAMETER);SQLSetDescFieldextend automatically the descriptor;ServerCertificateandConnectionTimeoutconnection attributes;ApplicationIntentfromodbc.ini;SQL_COPT_SS_ATTACHDBFILENAMEconnection attribute;(
DateTimeFmt,DateFmt,TimeFmtoptions andSQL_COPT_TDSODBC_DATETIME_FORMAT,..._DATE_FORMAT,..._TIME_FORMATattributes);
SQL_ATTR_QUERY_TIMEOUTattribute;avoid crashes in
bcp_bindwith invalid terminators;statement is freed.
-n) used together with-E(issue freebcp native format doesn't work #647);-k(keep nulls) and allow multiple hints;-jfor bcp in;-Llimit correctly;oversized data, missing terminator message matching MS bcp);
-i);in/out);USEstatement, match Sybase delimiters;ct_results()hang on empty result set withCS_DYNAMIC_CMD;UNITEXTforCS_VERSION_150and later (CS_UNITEXT_TYPE,CS_DATA_UNITEXT/CS_DATA_NOUNITEXTcapabilities);CS_UNICHAR/CS_UNITEXT;cs_dt_info, use same defaultdate formats as Sybase library;
cs_convert(numeric, char to binary,length limits, error reporting);
blk_textxferfor copy in;NVARCHARcolumns;CS_BLK_CANCELinblk_done;blk_rowxfer_mult;CS_UNUSEDlength;ct_cursor: predict cursor type forCS_CURSOR_DECLARE, improve queryparsing;
ct_cursorandct_cmd_props(CS_CUR_STATUS);CS_CANCEL_ALL;ct_resultsif rows are not fetched (instead of looping);ct_fetchif none is expected;DONEPROCtoken ending a result set;CS_CMD_FAIL);dbtablecolinfoif available;SYBEBCOR);bcp_bindchecks comparing with Sybase and MS;bcp_getbatchsize;dbstrbuildand other fixes to string formatting;dboptsleak.tdspoolto be started by inetd/xinetd (-x);(*) Feature backported in stable 1.5 branch.
Implementation:
-Wconversionand static analyzers;TDS_MAX,TDS_MINandTDS_CLAMP;include/freetds/tdsdirectory;get_int_colfrom ODBC to libTDS, addtds_try_get_int_col;info.c,catalog.c,odbc_util.c);xstrduputility;WIN32,WIN64and__WIN32__macros;$Id,mkinstalldirs;GNUInstallDirs;consistently with Autoconf;
PWDfile handling,TEST_MAIN()entry points;and wide support, run full test suite);
Caution
Do not use Source code links below, they are auto generated and broken.
This discussion was created from the release FreeTDS 1.6 Release.
All reactions