diff --git a/CHANGES b/CHANGES index c596182538..f71fb1e14d 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +3732. [contrib] Fixed a type mismatch causing the ODBC DLZ + driver to dump core on 64-bit systems. [RT #35324] + 3731. [func] Added a "no-case-compress" ACL, which causes named to use case-insensitive compression (disabling change #3645) for specified diff --git a/contrib/dlz/drivers/dlz_odbc_driver.c b/contrib/dlz/drivers/dlz_odbc_driver.c index 283998d85e..75ac3ca3c8 100644 --- a/contrib/dlz/drivers/dlz_odbc_driver.c +++ b/contrib/dlz/drivers/dlz_odbc_driver.c @@ -734,7 +734,7 @@ odbc_get_resultset(const char *zone, const char *record, static isc_result_t odbc_getField(SQLHSTMT *stmnt, SQLSMALLINT field, char **data) { - SQLINTEGER size; + SQLLEN size; REQUIRE(data != NULL && *data == NULL); @@ -763,7 +763,7 @@ odbc_getManyFields(SQLHSTMT *stmnt, SQLSMALLINT startField, SQLSMALLINT endField, char **retData) { isc_result_t result; - SQLINTEGER size; + SQLLEN size; int totSize = 0; SQLSMALLINT i; int j = 0;