--- embedaddon/php/ext/pdo_dblib/php_pdo_dblib_int.h 2012/05/29 12:34:41 1.1.1.2 +++ embedaddon/php/ext/pdo_dblib/php_pdo_dblib_int.h 2013/07/22 01:31:58 1.1.1.3 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2012 The PHP Group | + | Copyright (c) 1997-2013 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pdo_dblib_int.h,v 1.1.1.2 2012/05/29 12:34:41 misho Exp $ */ +/* $Id: php_pdo_dblib_int.h,v 1.1.1.3 2013/07/22 01:31:58 misho Exp $ */ #ifndef PHP_PDO_DBLIB_INT_H #define 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) @@ -117,6 +119,12 @@ typedef struct { pdo_dblib_db_handle *H; 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;