diff options
author | Stanley Sufficool <ssufficool@php.net> | 2013-06-03 20:34:47 -0700 |
---|---|---|
committer | Stanley Sufficool <ssufficool@php.net> | 2013-06-03 20:34:47 -0700 |
commit | d8f938c78478c211dc3b5609e9f37d2e2c47896f (patch) | |
tree | 418748cf4b0067a6b4e7833cb77a9b520840be08 /ext/pdo_dblib/php_pdo_dblib_int.h | |
parent | 3579e81200927b75b2c5f353e016ec26d8884c26 (diff) | |
download | php-git-d8f938c78478c211dc3b5609e9f37d2e2c47896f.tar.gz |
FIX BUG #55647, #60512, #60512, #61900, #64338, #64808, #63638
Return an error on passwords longer than 30 chars instead of segfault.
Set error and message handlers properly.
Do not segfault in out of bound colnums in getColumnMeta()
Fix DBSETOPT to use a blank string instead of NULL to stop FreeTDS complaints.
Use DBSETLDBNAME for compatibillity with SQL Azure.
Diffstat (limited to 'ext/pdo_dblib/php_pdo_dblib_int.h')
-rw-r--r-- | ext/pdo_dblib/php_pdo_dblib_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_dblib/php_pdo_dblib_int.h b/ext/pdo_dblib/php_pdo_dblib_int.h index dd06a1d94f..3670de7439 100644 --- a/ext/pdo_dblib/php_pdo_dblib_int.h +++ b/ext/pdo_dblib/php_pdo_dblib_int.h @@ -71,6 +71,8 @@ # define SQLVARBINARY SYBVARBINARY # ifdef SYBUNIQUE # define SQLUNIQUE SYBUNIQUE +#else +# define SQLUNIQUE 36 /* FreeTDS Hack */ # endif # define DBERRHANDLE(a, b) dberrhandle(b) |