File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -251,8 +251,8 @@ static const zend_function_entry mysql_functions[] = {
251
251
#endif /* NETWARE */
252
252
PHP_FE (mysql_query , arginfo_mysql_query )
253
253
PHP_FE (mysql_unbuffered_query , arginfo_mysql_query )
254
- PHP_FE (mysql_db_query , arginfo_mysql_db_query )
255
- PHP_FE (mysql_list_dbs , arginfo__optional_mysql_link )
254
+ PHP_DEP_FE (mysql_db_query , arginfo_mysql_db_query )
255
+ PHP_DEP_FE (mysql_list_dbs , arginfo__optional_mysql_link )
256
256
PHP_DEP_FE (mysql_list_tables , arginfo_mysql_select_db )
257
257
PHP_FE (mysql_list_fields , arginfo_mysql_list_fields )
258
258
PHP_FE (mysql_list_processes , arginfo__optional_mysql_link )
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ mysql_close($link);
58
58
print "done! \n" ;
59
59
?>
60
60
--EXPECTF--
61
+ Deprecated: Function mysql_list_dbs() is deprecated in %s on line %d
62
+
61
63
Deprecated: mysql_list_dbs(): This function is deprecated; use mysql_query() with SHOW DATABASES instead in %s on line %d
62
64
63
65
Warning: mysql_db_name(): Unable to jump to row -1 on MySQL result index %d in %s on line %d
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ print "done!\n";
51
51
require_once ("clean_table.inc " );
52
52
?>
53
53
--EXPECTF--
54
+ Deprecated: Function mysql_list_dbs() is deprecated in %s on line 15
55
+
54
56
Deprecated: mysql_list_dbs(): This function is deprecated; use mysql_query() with SHOW DATABASES instead in %s on line %d
55
57
56
58
Deprecated: mysql_list_dbs(): This function is deprecated; use mysql_query() with SHOW DATABASES instead in %s on line %d
You can’t perform that action at this time.
0 commit comments