Remove old debug items
authorGreg Sabino Mullane <greg@endpoint.com>
Thu, 13 Aug 2015 02:49:14 +0000 (22:49 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Thu, 13 Aug 2015 02:49:14 +0000 (22:49 -0400)
Bucardo.pm

index 10e0cc980c71a35d0e8c8b2fb9fbd68dac80e061..96fc0c89638f6232c1e36c1d2a64afb626f512b0 100644 (file)
@@ -9914,9 +9914,7 @@ sub push_rows {
                     ## However, we do not want to kick unless they are set to autokick and active
 
                     $self->glog('Signalling other syncs that this table has changed', LOG_DEBUG);
-                    ## Cache this
                     if (! exists $self->{kick_othersyncs}{$syncname}{$tname}) {
-                        #$SQL = 'SELECT sync FROM bucardo.bucardo_delta_names WHERE sync <> ? AND tablename = ?';
                         $SQL = 'SELECT name FROM sync WHERE herd IN (SELECT herd FROM herdmap WHERE goat IN (SELECT id FROM goat WHERE schemaname=? AND tablename = ?)) AND name <> ? AND autokick AND status = ?';
                         $sth = $self->{masterdbh}->prepare($SQL);
                         $sth->execute($goat->{schemaname}, $goat->{tablename}, $syncname, 'active');