FreeTDS 1.5.7 minor release
Added commits
ctlib: Remove leak freeing command
Release cursor while freeing command.
tsql: Avoid possible invalid type formatting a message
Specifically:
tsql.c: In function ‘do_query’:
tsql.c:292:80: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘__suseconds64_t’ {aka ‘long long int’} [-Wformat=]
292 | sprintf(message, "Total time for processing %d rows: %ld msecs\n",
| ~~^
| |
| long int
| %lld
tds: Fix bound check conversion (float -> uint)
Converting from floating point to unsigned int the bound check was incorrect resulting in invalid conversions if the input value was not in range.
Fix conversion bound checks, tsql message formatting
tds: Fix bulk copy in for Microsoft XML type