diff options
author | Chris Kings-Lynne <chris.kingslynne@gmail.com> | 2013-09-13 14:09:08 +0800 |
---|---|---|
committer | Adam Baratz <adambaratz@php.net> | 2016-09-26 17:07:46 -0400 |
commit | 48b5a1f9b9f473a86c02c6461c3eb0930c9c8aa9 (patch) | |
tree | 46795216d3fce73c37480ef84b84e646d8ef5304 /ext/imap/php_imap.c | |
parent | 3a058e3817fab41f9986fb353f337d32283a32b3 (diff) | |
download | php-git-48b5a1f9b9f473a86c02c6461c3eb0930c9c8aa9.tar.gz |
Ignore potentially misleading dberr values
FreeTDS had a buggy behavior where it would pass invalid values:
https://sourceforge.net/p/freetds/bugs/59/
The fix for this issue -- bc22b2ef817fb5d102bd758111ff3634b39a1319 on their
repo -- was to always use SYBESMSG for dberr. This makes it so the existing
pdo_dblib code would work as is. But by ignoring the dberr value in this
function, it will behave correctly, even with older versions of FreeTDS.
Diffstat (limited to 'ext/imap/php_imap.c')
0 files changed, 0 insertions, 0 deletions