Patch mysqli_fix_client_flags for MySQLi related Bug #53425
Patch version 2010-11-29 22:55 UTC
Return to Bug #53425 |
Download this patch
Patch Revisions:
Developer: tre-php-net@crushedhat.com
--- ext/mysqli/mysqli_nonapi.c 2010-05-26 00:28:43.000000000 -0700
+++ ext/mysqli/mysqli_nonapi.c 2010-11-29 00:49:18.878514875 -0800
@@ -232,7 +232,7 @@ void mysqli_common_connect(INTERNAL_FUNC
#endif
#if !defined(MYSQLI_USE_MYSQLND)
- if (mysql_real_connect(mysql->mysql, hostname, username, passwd, dbname, port, socket, CLIENT_MULTI_RESULTS) == NULL)
+ if (mysql_real_connect(mysql->mysql, hostname, username, passwd, dbname, port, socket, flags) == NULL)
#else
if (mysqlnd_connect(mysql->mysql, hostname, username, passwd, passwd_len, dbname, dbname_len,
port, socket, flags TSRMLS_CC) == NULL)
|