--- embedaddon/php/ext/mysqli/php_mysqli_structs.h 2013/07/22 01:31:56 1.1.1.3 +++ embedaddon/php/ext/mysqli/php_mysqli_structs.h 2014/06/15 20:03:51 1.1.1.4 @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2013 The PHP Group | + | Copyright (c) 1997-2014 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 @@ | Ulf Wendel | +----------------------------------------------------------------------+ - $Id: php_mysqli_structs.h,v 1.1.1.3 2013/07/22 01:31:56 misho Exp $ + $Id: php_mysqli_structs.h,v 1.1.1.4 2014/06/15 20:03:51 misho Exp $ */ #ifndef PHP_MYSQLI_STRUCTS_H @@ -116,6 +116,10 @@ typedef struct { BIND_BUFFER param; BIND_BUFFER result; char *query; +#ifndef MYSQLI_USE_MYSQLND + /* used to manage refcount with libmysql (already implement in mysqlnd) */ + zend_object_handle link_handle; +#endif } MY_STMT; typedef struct {