summaryrefslogtreecommitdiff
path: root/ext/mysqli
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2004-11-01 09:53:16 +0000
committerGeorg Richter <georg@php.net>2004-11-01 09:53:16 +0000
commitb557bdb665a69748afb885b3d3d47523d9a0973e (patch)
tree46be2b3a854673ac17afcb38f25a3a30d1ecec18 /ext/mysqli
parentb8863135a2202013c48d2933c61183279e44ae60 (diff)
downloadphp-git-b557bdb665a69748afb885b3d3d47523d9a0973e.tar.gz
added multi resultset support in mysql_connect
Diffstat (limited to 'ext/mysqli')
-rw-r--r--ext/mysqli/mysqli_nonapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_nonapi.c b/ext/mysqli/mysqli_nonapi.c
index 0429281675..805187231e 100644
--- a/ext/mysqli/mysqli_nonapi.c
+++ b/ext/mysqli/mysqli_nonapi.c
@@ -74,7 +74,7 @@ PHP_FUNCTION(mysqli_connect)
RETURN_FALSE;
}
- if (mysql_real_connect(mysql->mysql,hostname,username,passwd,dbname,port,socket,0) == NULL) {
+ if (mysql_real_connect(mysql->mysql,hostname,username,passwd,dbname,port,socket,CLIENT_MULTI_RESULTS) == NULL) {
/* Save error messages */
MYSQLI_REPORT_MYSQL_ERROR(mysql->mysql);