diff options
author | Georg Richter <georg@php.net> | 2002-03-24 17:19:19 +0000 |
---|---|---|
committer | Georg Richter <georg@php.net> | 2002-03-24 17:19:19 +0000 |
commit | e15bb45a1eaefeef694fb0b9b20fad7eee13b6e7 (patch) | |
tree | e312a5b186ec4735900403ee881ddd162d3d0430 /ext/mysql/php_mysql.h | |
parent | 62df9cf644b3b230f40231786bf38ea7acada0a6 (diff) | |
download | php-git-e15bb45a1eaefeef694fb0b9b20fad7eee13b6e7.tar.gz |
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
Diffstat (limited to 'ext/mysql/php_mysql.h')
-rw-r--r-- | ext/mysql/php_mysql.h | 3 |
1 files changed, 3 insertions, 0 deletions
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; |