]> granicus.if.org Git - php/commitdiff
Rename pg_data_seek() to pg_result_seek().
authorYasuo Ohgaki <yohgaki@php.net>
Thu, 3 Oct 2002 02:32:09 +0000 (02:32 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Thu, 3 Oct 2002 02:32:09 +0000 (02:32 +0000)
Added mysql_result_seek() which is alias of mysql_data_seek().

ext/mysql/php_mysql.c
ext/pgsql/pgsql.c
ext/pgsql/php_pgsql.h

index bb58953a930d9bdf99d621bc5bf62b515de02402..52be05ff99a9e072142bd90be7abf721b877d0fa 100644 (file)
@@ -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}
 };
 /* }}} */
index 0d591fff987c9252edf09801468671626b820698..d68bbf68722167ccb79a95e2eef361e4bcdf830f 100644 (file)
@@ -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;
index 4b00fc3eed19d8f4f6f7257ece1ba83e1a0afeb8..1dea2e120e01717c5972d9ebcd37da3b758803c3 100644 (file)
@@ -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);