mirror of
https://github.com/php/php-src.git
synced 2026-03-29 03:32:20 +02:00
fixed missing & (Thx to Sebastian Bergmann)
This commit is contained in:
@@ -1001,7 +1001,7 @@ PHP_FUNCTION(mysql_info)
|
||||
CHECK_LINK(id);
|
||||
}
|
||||
|
||||
ZEND_FETCH_RESOURCE2(mysql, php_mysql_conn *, mysql_link, id, "MySQL-Link", le_link, le_plink);
|
||||
ZEND_FETCH_RESOURCE2(mysql, php_mysql_conn *, &mysql_link, id, "MySQL-Link", le_link, le_plink);
|
||||
|
||||
if ((str = (char *)mysql_info(&mysql->conn))) {
|
||||
RETURN_STRING(str,1);
|
||||
|
||||
Reference in New Issue
Block a user