diff options
author | Andrey Hristov <andrey@php.net> | 2010-01-25 13:23:32 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-01-25 13:23:32 +0000 |
commit | 6407250e70534234379712a2050efc5ddb437958 (patch) | |
tree | edb895f3de78be404a0a530131580c678627b6af /ext/mysqli/php_mysqli_structs.h | |
parent | db8a6974fb44c47537a4979178e23640f6dc898f (diff) | |
download | php-git-6407250e70534234379712a2050efc5ddb437958.tar.gz |
Fix for bug#50772
mysqli constructor without parameters does not return a working mysqli object
Diffstat (limited to 'ext/mysqli/php_mysqli_structs.h')
-rw-r--r-- | ext/mysqli/php_mysqli_structs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mysqli/php_mysqli_structs.h b/ext/mysqli/php_mysqli_structs.h index 7625378579..ecf91518fb 100644 --- a/ext/mysqli/php_mysqli_structs.h +++ b/ext/mysqli/php_mysqli_structs.h @@ -338,6 +338,8 @@ if ((MyG(report_mode) & MYSQLI_REPORT_ERROR) && mysql_stmt_errno(stmt)) { \ void mysqli_common_connect(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_real_connect, zend_bool in_ctor); +void php_mysqli_init(INTERNAL_FUNCTION_PARAMETERS); + ZEND_BEGIN_MODULE_GLOBALS(mysqli) long default_link; |