andrey Tue, 17 Aug 2010 17:40:31 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=302395
Log: Use PHP_DEP_FE - good for reflection Changed paths: U php/php-src/trunk/ext/mysql/php_mysql.c U php/php-src/trunk/ext/mysql/tests/mysql_db_name.phpt U php/php-src/trunk/ext/mysql/tests/mysql_list_dbs.phpt Modified: php/php-src/trunk/ext/mysql/php_mysql.c =================================================================== --- php/php-src/trunk/ext/mysql/php_mysql.c 2010-08-17 17:14:33 UTC (rev 302394) +++ php/php-src/trunk/ext/mysql/php_mysql.c 2010-08-17 17:40:31 UTC (rev 302395) @@ -251,8 +251,8 @@ #endif /* NETWARE */ PHP_FE(mysql_query, arginfo_mysql_query) PHP_FE(mysql_unbuffered_query, arginfo_mysql_query) - PHP_FE(mysql_db_query, arginfo_mysql_db_query) - PHP_FE(mysql_list_dbs, arginfo__optional_mysql_link) + PHP_DEP_FE(mysql_db_query, arginfo_mysql_db_query) + PHP_DEP_FE(mysql_list_dbs, arginfo__optional_mysql_link) PHP_DEP_FE(mysql_list_tables, arginfo_mysql_select_db) PHP_FE(mysql_list_fields, arginfo_mysql_list_fields) PHP_FE(mysql_list_processes, arginfo__optional_mysql_link) Modified: php/php-src/trunk/ext/mysql/tests/mysql_db_name.phpt =================================================================== --- php/php-src/trunk/ext/mysql/tests/mysql_db_name.phpt 2010-08-17 17:14:33 UTC (rev 302394) +++ php/php-src/trunk/ext/mysql/tests/mysql_db_name.phpt 2010-08-17 17:40:31 UTC (rev 302395) @@ -58,6 +58,8 @@ print "done!\n"; ?> --EXPECTF-- +Deprecated: Function mysql_list_dbs() is deprecated in %s on line %d + Deprecated: mysql_list_dbs(): This function is deprecated; use mysql_query() with SHOW DATABASES instead in %s on line %d Warning: mysql_db_name(): Unable to jump to row -1 on MySQL result index %d in %s on line %d Modified: php/php-src/trunk/ext/mysql/tests/mysql_list_dbs.phpt =================================================================== --- php/php-src/trunk/ext/mysql/tests/mysql_list_dbs.phpt 2010-08-17 17:14:33 UTC (rev 302394) +++ php/php-src/trunk/ext/mysql/tests/mysql_list_dbs.phpt 2010-08-17 17:40:31 UTC (rev 302395) @@ -51,6 +51,8 @@ require_once("clean_table.inc"); ?> --EXPECTF-- +Deprecated: Function mysql_list_dbs() is deprecated in %s on line 15 + Deprecated: mysql_list_dbs(): This function is deprecated; use mysql_query() with SHOW DATABASES instead in %s on line %d Deprecated: mysql_list_dbs(): This function is deprecated; use mysql_query() with SHOW DATABASES instead in %s on line %d
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php