diff options
Diffstat (limited to 'ext/mysql')
-rw-r--r-- | ext/mysql/mysql.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mysql/mysql.c b/ext/mysql/mysql.c index 319addc54e..6f0f1fec27 100644 --- a/ext/mysql/mysql.c +++ b/ext/mysql/mysql.c @@ -587,7 +587,6 @@ static void php3_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent) static int php3_mysql_get_default_link(INTERNAL_FUNCTION_PARAMETERS MySLS_DC) { if (MySG(default_link)==-1) { /* no link opened yet, implicitly open one */ - ht = 0; php3_mysql_do_connect(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); } return MySG(default_link); @@ -1473,7 +1472,7 @@ PHP_FUNCTION(mysql_fetch_row) /* }}} */ -/* {{{ proto object mysql_fetch_object(int result [, int result_type]) +/* {{{ proto object mysql_fetch_object(int result) Fetch a result row as an object */ PHP_FUNCTION(mysql_fetch_object) { @@ -1487,7 +1486,7 @@ PHP_FUNCTION(mysql_fetch_object) /* }}} */ -/* {{{ proto array mysql_fetch_array(int result [, int result_type]) +/* {{{ proto array mysql_fetch_array(int result) Fetch a result row as an associative array */ PHP_FUNCTION(mysql_fetch_array) { |