diff options
author | ivan <ivan> | 2003-06-12 13:49:02 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-06-12 13:49:02 +0000 |
commit | 6dca9c84fb27d3c01d94b993c56ea66f25d94fb2 (patch) | |
tree | 014216aee573a531575c9b25d1bcea0d0b417e43 /bin | |
parent | cbf32a25fcfc38632d1262ad8261e679e1c9b7c5 (diff) |
arg
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fix-sequences | 2 |
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; |