diff options
author | Andrey Hristov <andrey@php.net> | 2010-08-17 18:07:11 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-08-17 18:07:11 +0000 |
commit | 33c7b63c6c6294515c1b675e22a38f1fc12893e1 (patch) | |
tree | a7fcdbfd100471ca7c9759e3457153a875f5717e /ext/mysql | |
parent | a109c3538f3dd1d4435e379e7540a9da038af8a6 (diff) | |
download | php-git-33c7b63c6c6294515c1b675e22a38f1fc12893e1.tar.gz |
Update with PHP_DEF_FE, also update the test
Diffstat (limited to 'ext/mysql')
-rw-r--r-- | ext/mysql/php_mysql.c | 2 | ||||
-rw-r--r-- | ext/mysql/tests/mysql_trace_mode.phpt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 85831b7371..32d840c17e 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -251,7 +251,7 @@ static const zend_function_entry mysql_functions[] = { #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_DEP_FE(mysql_db_query, arginfo_mysql_db_query) PHP_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) diff --git a/ext/mysql/tests/mysql_trace_mode.phpt b/ext/mysql/tests/mysql_trace_mode.phpt index 622f413062..6d163d40f7 100644 --- a/ext/mysql/tests/mysql_trace_mode.phpt +++ b/ext/mysql/tests/mysql_trace_mode.phpt @@ -29,6 +29,8 @@ print "done!\n"; require_once("clean_table.inc"); ?> --EXPECTF-- +Deprecated: Function mysql_db_query() is deprecated in %s on line %d + Deprecated: mysql_db_query(): %s Deprecated: mysql_escape_string(): %s |