Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [anup123] consistency.pl

Quote Reply
Re: [anup123] consistency.pl In reply to
Here's a fix:
Code:
--- consistency.pl 5 Mar 2004 18:14:55 -0000 1.14
+++ consistency.pl 5 Aug 2004 20:17:34 -0000
@@ -189,7 +189,7 @@
}

# dgraph => users
- $rel = $DB->table('users', 'dgraph');
+ $rel = $DB->table('dgraph', 'users');
$sth = $rel->select('left_join', 'distinct(dgraph_userid)', { userid => undef });
print "dgraph => users table inconsistencies: ", $sth->rows + 0, "\n";
if ($fix) {

Adrian
Subject Author Views Date
Thread consistency.pl anup123 2511 Jul 22, 2004, 4:11 PM
Post Re: [anup123] consistency.pl
anup123 2424 Jul 30, 2004, 5:17 PM
Thread Re: [anup123] consistency.pl
brewt 2416 Aug 5, 2004, 1:18 PM
Post Re: [brewt] consistency.pl
anup123 2395 Aug 9, 2004, 2:03 PM