Opened 7 years ago

Closed 7 years ago

#1483834 closed Bugs (fixed)

No persistent connections with PHP4

Reported by: mmarques Owned by:
Priority: 5 Milestone:
Component: Database Version: 0.1-alpha
Severity: normal Keywords:
Cc:

Description

When using PHP4 and setting $rcmail_configdb_persistent? = TRUE; RC doesn't
use persistent connetions. Here's the patch:

$ svn diff program/include/rcube_db.inc
Index: program/include/rcube_db.inc
===================================================================
--- program/include/rcube_db.inc (revision 259)
+++ program/include/rcube_db.inc (working copy)
@@ -80,7 +80,7 @@

*/

function rcube_db($db_dsnw, $db_dsnr=, $pconn=false)

{

  • $this->construct($db_dsnw, $db_dsnr);

+ $this->construct($db_dsnw, $db_dsnr, $pconn);

}

Attachments (1)

patch-presistent-db.diff (454 bytes) - added by mmarques 7 years ago.
let connections be persistent in PHP4

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by mmarques

let connections be persistent in PHP4

comment:1 Changed 7 years ago by thomasb

  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from later to 0.1-alpha
Note: See TracTickets for help on using tickets.