Correct syntax.

This commit is contained in:
Andrew McMillan 2008-04-13 01:01:02 +12:00
parent 618f9d7cb6
commit 61f6a82d55

View File

@ -306,7 +306,7 @@ sub apply_permissions {
if ( $force_owner ne "" ) {
if ( $doohickey =~ /_seq$/ ) {
$sql = sprintf( "GRANT ALL on %s to %s", $current_grant, $doohickey, $force_owner );
$sql = sprintf( "GRANT ALL on %s to %s", $doohickey, $force_owner );
}
else {
$sql = sprintf( "ALTER TABLE %s OWNER to %s", $doohickey, $force_owner );