db-lib is the oldest and simplest API, and the only API supported by
both vendors, which has some relevance when porting applications that
use the vendors' libraries. db-lib was the first API implemented by
FreeTDS, and is still the best one supported. Anything that can be
done in FreeTDS can be done through db-lib.
Provides
Requires
License
LGPL-2.1-or-later
Changelog
* Fri Jul 17 2026 Pedro Monreal <pmonreal@suse.com>
- More fixes for FTBFS with libnettle 4.0: (boo#1257934)
* Hash length parameter was removed from digest functions like
nettle_md4_digest and sha1_digest.
* Rebase freetds-Fix-FTBFS-nettle-4.0.patch
* Mon Apr 20 2026 Pedro Monreal <pmonreal@suse.com>
- Fix FTBFS with libnettle 4.0: (boo#1257934)
* utils: Fix compatibility with Nettle 4 library
Hash length parameter was removed from nettle_md5_digest.
* Add freetds-Fix-FTBFS-nettle-4.0.patch
* Tue Sep 02 2025 pgajdos@suse.com
- version update to 1.4.27
* dblib: Fix dbreadtext crash on NULL values
* fix signature mismatch for tds_convert_int1
* Merge fix for SQL_C_STINYINT
* odbc: Add test for SQL_C_STINYINT type
* Fix handling of SQL_C_STINYINT
* tds: Add support for SYBSINT1 type conversion
* Merge support for BLK_HINTS calling blk_props
* ctlib: Add support for setting hints for bulk copy
* Make TDSBCPINFO::hint a DSTR
* Merge fix for connection to no Sybase servers
* Ignore query errors during connection initial setup
* tds_setup_connection: Further conditionalize queries by product.
* tds_setup_connection: Skip nvc/uvc check under OpenServer.
* pool: Ignore extension in login packet
* odbc: Fix bug cancelling not active statements
* Merge leak fix for odbc_parse_connect_string
* odbc: Reuse cleanup code parsing connection string, check for error
* odbc: Use tds_dstr_buf to retrieve internal string buffer
* odbc: Reuse code in connection_string_parse test
* odbc: Add test for connection string parsing
* tds_convert_to_binary: Don't leak allocations on syntax errors.
* _cs_convert: Cap binary/image copying to the destination length.
- modified patches
% configure-return-void-fix.patch (refreshed)
* Fri Jun 07 2024 Dirk Müller <dmueller@suse.com>
- update to 1.4.17:
* _blk_get_col_data: Consistently return TDS_FAIL on failure.
* Support very old Sybase ASE versions
* datacopy: Increase CREATE TABLE command buffer to accommodate
larger queries
* datacopy fails on tables with an unusually high number of
columns.
* Change some file license from GPL to LGPL
* Support Sybase server not configured with UTF-8 charset
* Tue Apr 02 2024 pgajdos@suse.com
- version update