diff options
| author | Georg Richter <georg@php.net> | 2005-05-08 08:39:56 +0000 |
|---|---|---|
| committer | Georg Richter <georg@php.net> | 2005-05-08 08:39:56 +0000 |
| commit | b654b20ef698999221f9faf8756803e0b21c241d (patch) | |
| tree | 5397e3b63c598db4617c3bafbd15f4ac93d551bb /ext/mysqli/mysqli_fe.c | |
| parent | 882bd85360d6f37767dc2c50810bb52a01dbe46e (diff) | |
| download | php-git-b654b20ef698999221f9faf8756803e0b21c241d.tar.gz | |
Added new function mysqli_set_character_set_name
Diffstat (limited to 'ext/mysqli/mysqli_fe.c')
| -rw-r--r-- | ext/mysqli/mysqli_fe.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/mysqli/mysqli_fe.c b/ext/mysqli/mysqli_fe.c index eddea9de37..df61d555e0 100644 --- a/ext/mysqli/mysqli_fe.c +++ b/ext/mysqli/mysqli_fe.c @@ -116,6 +116,9 @@ function_entry mysqli_functions[] = { PHP_FE(mysqli_rpl_probe, NULL) PHP_FE(mysqli_rpl_query_type, NULL) PHP_FE(mysqli_select_db, NULL) +#ifdef HAVE_MYSQLI_SET_CHARSET + PHP_FE(mysqli_set_character_set_name, NULL) +#endif PHP_FE(mysqli_stmt_attr_get, NULL) PHP_FE(mysqli_stmt_attr_set, NULL) PHP_FE(mysqli_stmt_field_count, NULL) @@ -214,6 +217,10 @@ function_entry mysqli_link_methods[] = { PHP_FALIAS(rpl_probe,mysqli_rpl_probe,NULL) PHP_FALIAS(rpl_query_type,mysqli_rpl_query_type,NULL) PHP_FALIAS(select_db,mysqli_select_db,NULL) +#ifdef HAVE_MYSQLI_SET_CHARSET + PHP_FALIAS(set_character_set_name,mysqli_set_character_set_name,NULL) + PHP_FALIAS(set_client_encoding,mysqli_set_character_set_name,NULL) +#endif PHP_FALIAS(set_opt, mysqli_options,NULL) PHP_FALIAS(slave_query,mysqli_slave_query,NULL) PHP_FALIAS(ssl_set,mysqli_ssl_set,NULL) |
