6.0.0-beta1
9/24/25

[#4876] couple mysqli fixes
Summary couple mysqli fixes
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester vilius (at) lnk (dot) lt
Created 01/12/2007 (6830 days ago)
Due
Updated 01/12/2007 (6830 days ago)
Assigned 01/12/2007 (6830 days ago)
Resolved 01/12/2007 (6830 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/12/2007 06:29:26 PM Chuck Hagenbuch Comment #4
State ⇒ Resolved
Reply to this comment
I see - in HEAD your patch was fine; in FW_3 hostspec hadn't been 
moved into the $mysql_protocol switch. I took care of both in both 
branches. Thanks!
01/12/2007 06:13:01 PM vilius (at) lnk (dot) lt Comment #3 Reply to this comment
Ghm, I tested the patch on my machine and I'm able to specify server 
name if I select TCP protocol.



By the way, MySQL (not MySQLi) module has exactly the same structure, 
except of persistent connections.
01/12/2007 04:51:10 PM Chuck Hagenbuch Deleted Original Message
 
01/12/2007 04:51:02 PM Chuck Hagenbuch Comment #2
Assigned to Chuck Hagenbuch
State ⇒ Feedback
Reply to this comment
I removed the persistent connections part, but your patch doesn't seem 
to leave any way to set a hostname if you're _not_ using sockets. Have 
to be able to specify a remote server...
01/12/2007 01:23:36 PM vilius (at) lnk (dot) lt Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ couple mysqli fixes
Queue ⇒ Horde Framework Packages
New Attachment: Config.php.patch
State ⇒ Unconfirmed
Reply to this comment
Two mysqli fixes.



1) there is no such thing as persistent connection in mysqli



2) hostname is not needed in mysqli connection if using sockets. From 
PHP manual:

"Passing the NULL value or the string "localhost" to this parameter, 
the local host is assumed. When possible, pipes will be used instead 
of the TCP/IP protocol."

Saved Queries