diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2010-09-23 04:13:36 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2010-09-23 04:13:36 +0000 |
commit | 1ac15b2f8efa9b40703375fd331ccd5842d5040e (patch) | |
tree | b8b7f7a5997626743965e2e41d50e3fc466ec355 /ext/mysql/php_mysql.c | |
parent | 68b1905702cf060ee1585ee5e626b82b57a9c532 (diff) | |
download | php-git-1ac15b2f8efa9b40703375fd331ccd5842d5040e.tar.gz |
Added TSRMLS macros into php_get_current_user()
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r-- | ext/mysql/php_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index ab6c2bb62c..bd0a6e7f07 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -735,7 +735,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) php_error_docref(NULL TSRMLS_CC, E_NOTICE, "SQL safe mode in effect - ignoring host/user/password information"); } host_and_port=passwd=NULL; - user=php_get_current_user(); + user=php_get_current_user(TSRMLS_C); hashed_details_length = spprintf(&hashed_details, 0, "mysql__%s_", user); client_flags = CLIENT_INTERACTIVE; } else { |