summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-10-25 23:01:49 +0000
committerAndrey Hristov <andrey@php.net>2011-10-25 23:01:49 +0000
commitf926a3c07dd958d3280d677c65de0f7aaf803e88 (patch)
treeaa64cc3ea5e386964ac937f5ef2f65adbe028b0e /ext/mysql/php_mysql.c
parent8eb4386c87cd1d64ae8771a29d7590ec17a60948 (diff)
downloadphp-git-f926a3c07dd958d3280d677c65de0f7aaf803e88.tar.gz
Move from directly referencing an aggregated structure to using a
pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 4af1936c7c..7b95a13b6a 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -530,6 +530,7 @@ static PHP_GINIT_FUNCTION(mysql)
/* }}} */
#ifdef MYSQL_USE_MYSQLND
+#include "ext/mysqlnd/mysqlnd_reverse_api.h"
static MYSQLND * mysql_convert_zv_to_mysqlnd(zval * zv TSRMLS_DC)
{
php_mysql_conn *mysql;