cvs: /php4/ext/pgsql pgsql.c

From: Date: Fri, 16 Jul 1999 13:26:17 +0000
Subject: cvs: /php4/ext/pgsql pgsql.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-2111@lists.php.net to get a copy of this message
zeev Fri Jul 16 13:26:17 1999 EDT Modified files: /php4/ext/pgsql pgsql.c Log: Index: php4/ext/pgsql/pgsql.c diff -u php4/ext/pgsql/pgsql.c:1.6 php4/ext/pgsql/pgsql.c:1.7 --- php4/ext/pgsql/pgsql.c:1.6 Fri Jul 16 13:19:11 1999 +++ php4/ext/pgsql/pgsql.c Fri Jul 16 13:26:16 1999 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.6 1999/07/16 17:19:11 zeev Exp $ */ +/* $Id: pgsql.c,v 1.7 1999/07/16 17:26:16 zeev Exp $ */ #include <stdlib.h> @@ -857,13 +857,6 @@ } /* }}} */ -/* {{{ proto array pg_fetchrow(int result, int row) - Get a row as an enumerated array */ -PHP_FUNCTION(pgsql_fetch_row) -{ - php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, PGSQL_NUM); -} -/* }}} */ static void php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) { @@ -947,6 +940,14 @@ } } + +/* {{{ proto array pg_fetchrow(int result, int row) + Get a row as an enumerated array */ +PHP_FUNCTION(pgsql_fetch_row) +{ + php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU, PGSQL_NUM); +} +/* }}} */ /* ?? This is a rather odd function - why not just point pg_fetcharray() directly at fetch_hash ? -RL */ /* {{{ proto array pg_fetch_array(int result, int row)

« previous php.version4 (#2111) next »