]> granicus.if.org Git - php/commitdiff
message about that mysql_list_tables() is deprecated
authorAndrey Hristov <andrey@php.net>
Tue, 27 Jan 2004 23:14:42 +0000 (23:14 +0000)
committerAndrey Hristov <andrey@php.net>
Tue, 27 Jan 2004 23:14:42 +0000 (23:14 +0000)
ext/mysql/php_mysql.c

index 9626b08ed359dbaffa8c3d957c3c0f69f57e0090..8a46e8e0064a0ccc5f94de905e3b5fbcba4d3aac 100644 (file)
@@ -1445,7 +1445,7 @@ PHP_FUNCTION(mysql_list_tables)
                        WRONG_PARAM_COUNT;
                        break;
        }
-
+       php_error_docref(NULL TSRMLS_CC, E_STRICT, "mysql_list_tables() is deprecated");
        ZEND_FETCH_RESOURCE2(mysql, php_mysql_conn *, mysql_link, id, "MySQL-Link", le_link, le_plink);
 
        convert_to_string_ex(db);