Fix old debug code.
authorAOlmezov <aolmezov@yahoo.com>
Mon, 4 Jul 2011 22:03:52 +0000 (18:03 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Mon, 4 Jul 2011 22:03:52 +0000 (18:03 -0400)
bucardo.schema

index afb25b02304d6b76529c57b21a91a124aa7f34f3..4a09567e3c132447b0363c4152b1a4d3ea2a0cb5 100644 (file)
@@ -1813,7 +1813,7 @@ SELECT 'Fixme'::TEXT;
             $SQL = q{SELECT count(*) FROM pg_attribute WHERE attname = 'targetname' }
                 .q{ AND attrelid = 'bucardo.bucardo_sequences'::regclass};
             $count = $dbh->selectall_arrayref($SQL)->[0][0];
-            if ($count < 12) {
+            if ($count < 1) {
                 warn "Dropping older version of bucardo_sequences, then recreating empty\n";
                 $dbh->do('DROP TABLE bucardo.bucardo_sequences');
             }