SOURCES: drupal-replication.patch - use mysql_connect, as mysql_pc...
glen
glen at pld-linux.org
Fri Oct 28 21:07:13 CEST 2005
Author: glen Date: Fri Oct 28 19:07:13 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use mysql_connect, as mysql_pconnect crashes php-cli (php bug 35009)
---- Files affected:
SOURCES:
drupal-replication.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/drupal-replication.patch
diff -u SOURCES/drupal-replication.patch:1.2 SOURCES/drupal-replication.patch:1.3
--- SOURCES/drupal-replication.patch:1.2 Mon Aug 15 15:45:09 2005
+++ SOURCES/drupal-replication.patch Fri Oct 28 21:07:08 2005
@@ -248,3 +248,14 @@
$db_prefix = '';
/**
+--- ./includes/database.mysql.inc~ 2005-10-28 22:04:50.000000000 +0300
++++ ./includes/database.mysql.inc 2005-10-28 22:05:32.000000000 +0300
+@@ -29,7 +29,7 @@
+ }
+
+ // For replication setups, we will assume that dieing is bad
+- $connection = mysql_pconnect($url['host'], $url['user'], @$url['pass'], TRUE);
++ $connection = mysql_connect($url['host'], $url['user'], @$url['pass'], TRUE);
+ if(!is_resource($connection) && $critical) {
+ die(mysql_error());
+ }
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/drupal-replication.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list