From e15bb45a1eaefeef694fb0b9b20fad7eee13b6e7 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Sun, 24 Mar 2002 17:19:19 +0000 Subject: a) ws fixed b) changed mysql_list_processes, mysql_stat (zend_parse_parameters) c) New functions: 1) mysql_real_escape_string this function is similar to mysql_escape_string (deprecated). it needs a mysql-connection to escape a string according to the current character set 2) mysql_character_set_name returns the current character set for the connection 3) mysql_thread_id return the pid for the current connection. This function is usefull when using mysql_list_processes --- ext/mysql/php_mysql.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/mysql/php_mysql.h') diff --git a/ext/mysql/php_mysql.h b/ext/mysql/php_mysql.h index f373653db3..b5ec489e84 100644 --- a/ext/mysql/php_mysql.h +++ b/ext/mysql/php_mysql.h @@ -81,11 +81,14 @@ PHP_FUNCTION(mysql_field_len); PHP_FUNCTION(mysql_field_type); PHP_FUNCTION(mysql_field_flags); PHP_FUNCTION(mysql_escape_string); +PHP_FUNCTION(mysql_real_escape_string); PHP_FUNCTION(mysql_get_client_info); PHP_FUNCTION(mysql_get_host_info); PHP_FUNCTION(mysql_get_proto_info); PHP_FUNCTION(mysql_get_server_info); PHP_FUNCTION(mysql_stat); +PHP_FUNCTION(mysql_thread_id); +PHP_FUNCTION(mysql_character_set_name); ZEND_BEGIN_MODULE_GLOBALS(mysql) long default_link; -- cgit v1.2.1