summaryrefslogtreecommitdiff
path: root/bin/fix-sequences
diff options
context:
space:
mode:
authorivan <ivan>2003-06-12 13:49:02 +0000
committerivan <ivan>2003-06-12 13:49:02 +0000
commit6dca9c84fb27d3c01d94b993c56ea66f25d94fb2 (patch)
tree014216aee573a531575c9b25d1bcea0d0b417e43 /bin/fix-sequences
parentcbf32a25fcfc38632d1262ad8261e679e1c9b7c5 (diff)
arg
Diffstat (limited to 'bin/fix-sequences')
-rwxr-xr-xbin/fix-sequences2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fix-sequences b/bin/fix-sequences
index d5349ee74..70b6df601 100755
--- a/bin/fix-sequences
+++ b/bin/fix-sequences
@@ -51,7 +51,7 @@ foreach my $table ( @tables ) {
my $sql = "SELECT setval( '$seq',
- ( SELECT max($primary_key) FROM $table ) );" );
+ ( SELECT max($primary_key) FROM $table ) );";
warn $col->default. " $seq\n$sql\n";
$dbh->do( $sql ) or die $dbh->errstr;