]> granicus.if.org Git - php/commit
More robust handling of stringified column data
authorAdam Baratz <adambaratz@php.net>
Fri, 10 Nov 2017 18:29:14 +0000 (13:29 -0500)
committerAdam Baratz <adambaratz@php.net>
Fri, 10 Nov 2017 18:29:14 +0000 (13:29 -0500)
commit01f2427b838d55f8b6837585dadeb16edf4ed02b
treee2160572c1867b4cb337f8c902ae7dbb9919f36e
parentca1f07b6d733c2f422cb99ffb0e6122b2d5f8b5e
More robust handling of stringified column data
 - Use at least the FreeTDS maximum when converting datetime data
 - Pass buffer length to dbconvert()
 - Use dbconvert() return value to set string lengths or handle errors
 - Move shared code into shared function
ext/pdo_dblib/dblib_stmt.c
ext/pdo_dblib/php_pdo_dblib_int.h