Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 28436 Details for
Bug 46340
php + mysql_real_connect using SSL
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
my.cnf reader
4.3.4-mysqlclient.diff (text/plain), 1003 bytes, created by
petre rodan (RETIRED)
on 2004-03-31 03:11:21 UTC
(
hide
)
Description:
my.cnf reader
Filename:
MIME Type:
Creator:
petre rodan (RETIRED)
Created:
2004-03-31 03:11:21 UTC
Size:
1003 bytes
patch
obsolete
>diff -ur php-4.3.4/ext/mysql/php_mysql.c php-4.3.4_new/ext/mysql/php_mysql.c >--- php-4.3.4/ext/mysql/php_mysql.c 2003-09-23 02:28:09.000000000 +0300 >+++ php-4.3.4_new/ext/mysql/php_mysql.c 2004-03-31 13:26:04.000000000 +0300 >@@ -668,6 +668,8 @@ > if (connect_timeout != -1) > mysql_options(&mysql->conn, MYSQL_OPT_CONNECT_TIMEOUT, (const char *)&connect_timeout); > >+ mysql_options(&mysql->conn,MYSQL_READ_DEFAULT_GROUP,"client"); >+ > if (mysql_real_connect(&mysql->conn, host, user, passwd, NULL, port, socket, client_flags)==NULL) { > #else > if (mysql_connect(&mysql->conn, host, user, passwd)==NULL) { >@@ -773,6 +775,8 @@ > if (connect_timeout != -1) > mysql_options(&mysql->conn, MYSQL_OPT_CONNECT_TIMEOUT, (const char *)&connect_timeout); > >+ mysql_options(&mysql->conn,MYSQL_READ_DEFAULT_GROUP,"client"); >+ > if (mysql_real_connect(&mysql->conn, host, user, passwd, NULL, port, socket, client_flags)==NULL) { > #else > if (mysql_connect(&mysql->conn, host, user, passwd)==NULL) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 46340
: 28436