Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 26643e9b7e8dad70cef59445cd8f216a > files > 2

sqlgrey-1.7.6-3mdv2010.1.src.rpm

--- sqlgrey	2007-08-05 22:41:01.000000000 +0200
+++ sqlgrey.oden	2008-09-07 17:21:29.000000000 +0200
@@ -827,6 +827,7 @@
         $self->mylog('dbaccess', 3, "Read_hosts: ".join(', ', @read_hosts));
 
 	#Setting up cluster db's
+        no warnings 'once';
     	$DBIx::DBCluster::CLUSTERS = {
         		"$self->{sqlgrey}{db_host}" => {
             		'WRITE_HOSTS'  => [$self->{sqlgrey}{db_host}],
@@ -2447,6 +2448,7 @@
     no warnings 'uninitialized'; #Perl will spew warn's if running DBI only
     if ($dflt{db_cluster} eq 'on') {
             # if loglevel >= 4, enable debugging for DBCluster
+            no warnings 'once';
             $DBIx::DBCluster::DEBUG = ($dflt{'loglevel'}>3)?1:0;
 
             # Ugly hack to make perl shut up about about "possible typo".