diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2002-10-03 02:32:09 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-10-03 02:32:09 +0000 |
commit | 1b675aa69071438f796c5d23e6fab0cc6951ac68 (patch) | |
tree | 92f6903ae53eddac9d8efb57acda9d01b0e03d9c | |
parent | bd177ce7c1b4a9d73fc38c4f41e6001085ad882d (diff) | |
download | php-git-1b675aa69071438f796c5d23e6fab0cc6951ac68.tar.gz |
Rename pg_data_seek() to pg_result_seek().
Added mysql_result_seek() which is alias of mysql_data_seek().
-rw-r--r-- | ext/mysql/php_mysql.c | 1 | ||||
-rw-r--r-- | ext/pgsql/pgsql.c | 6 | ||||
-rw-r--r-- | ext/pgsql/php_pgsql.h | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index bb58953a93..52be05ff99 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -193,6 +193,7 @@ function_entry mysql_functions[] = { PHP_FALIAS(mysql_dbname, mysql_result, NULL) PHP_FALIAS(mysql_tablename, mysql_result, NULL) PHP_FALIAS(mysql_table_name, mysql_result, NULL) + PHP_FALIAS(mysql_result_seek, mysql_data_seek, NULL) {NULL, NULL, NULL} }; /* }}} */ diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 0d591fff98..d68bbf6872 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -100,9 +100,9 @@ function_entry pgsql_functions[] = { PHP_FE(pg_fetch_array, NULL) PHP_FE(pg_fetch_object, NULL) PHP_FE(pg_fetch_all, NULL) - PHP_FE(pg_data_seek, NULL) PHP_FE(pg_affected_rows,NULL) PHP_FE(pg_get_result, NULL) + PHP_FE(pg_result_seek, NULL) PHP_FE(pg_result_status,NULL) PHP_FE(pg_free_result, NULL) PHP_FE(pg_last_oid, NULL) @@ -1417,9 +1417,9 @@ PHP_FUNCTION(pg_fetch_all) } /* }}} */ -/* {{{ proto mixed pg_data_seek(resource result, int offset) +/* {{{ proto mixed pg_result_seek(resource result, int offset) Set internal row offset */ -PHP_FUNCTION(pg_data_seek) +PHP_FUNCTION(pg_result_seek) { zval *result; int row; diff --git a/ext/pgsql/php_pgsql.h b/ext/pgsql/php_pgsql.h index 4b00fc3eed..1dea2e120e 100644 --- a/ext/pgsql/php_pgsql.h +++ b/ext/pgsql/php_pgsql.h @@ -83,9 +83,9 @@ PHP_FUNCTION(pg_fetch_object); PHP_FUNCTION(pg_fetch_result); PHP_FUNCTION(pg_fetch_row); PHP_FUNCTION(pg_fetch_all); -PHP_FUNCTION(pg_data_seek); PHP_FUNCTION(pg_affected_rows); PHP_FUNCTION(pg_get_result); +PHP_FUNCTION(pg_result_seek); PHP_FUNCTION(pg_result_status); PHP_FUNCTION(pg_free_result); PHP_FUNCTION(pg_last_oid); |