diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2007-05-28 23:43:24 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2007-05-28 23:43:24 +0000 |
commit | cbcb1840f32f4b3eff6c2165ecc6f4fac8746a4b (patch) | |
tree | 2e91d5ce8fb85831987bb50b54aa584c62704cad /ext/mysql/php_mysql.c | |
parent | 3821f0c45acc490e6b5d80494f74798049e9cd15 (diff) | |
download | php-git-cbcb1840f32f4b3eff6c2165ecc6f4fac8746a4b.tar.gz |
MFB
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 95aedc25e0..54287968df 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -542,7 +542,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) client_flags ^= CLIENT_LOCAL_FILES; } - hashed_details_length = spprintf(&hashed_details, 0, "mysql_%s_%s_%s", SAFE_STRING(host_and_port), SAFE_STRING(user), SAFE_STRING(passwd)); + hashed_details_length = spprintf(&hashed_details, 0, "mysql_%s_%s_%s_%d", SAFE_STRING(host_and_port), SAFE_STRING(user), SAFE_STRING(passwd), client_flags); } /* We cannot use mysql_port anymore in windows, need to use |