diff options
author | Ondřej Surý <ondrej@sury.org> | 2013-06-06 20:32:27 +0200 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2013-06-06 20:32:27 +0200 |
commit | d9b0e944a6bfa31fec6b71170346648925e76935 (patch) | |
tree | b6de5f6389aeb27758d34f29ea6f000570f5e9fc /ext/pdo_dblib/php_pdo_dblib_int.h | |
parent | 4cd628b36adb52a09b58782cd60c5f4ce2ad4764 (diff) | |
download | php-d9b0e944a6bfa31fec6b71170346648925e76935.tar.gz |
New upstream version 5.5.0~rc3
Diffstat (limited to 'ext/pdo_dblib/php_pdo_dblib_int.h')
-rw-r--r-- | ext/pdo_dblib/php_pdo_dblib_int.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/pdo_dblib/php_pdo_dblib_int.h b/ext/pdo_dblib/php_pdo_dblib_int.h index dd06a1d94..2bdb83c32 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) @@ -118,6 +120,12 @@ typedef struct { pdo_dblib_err err; } pdo_dblib_stmt; +typedef struct { + const char* key; + int value; +} pdo_dblib_keyval; + + ZEND_BEGIN_MODULE_GLOBALS(dblib) pdo_dblib_err err; char sqlstate[6]; |