From 58ac0be34c30aec4abbe7b619c17bcb875f1e828 Mon Sep 17 00:00:00 2001 From: chriskl Date: Wed, 7 May 2003 06:41:47 +0000 Subject: [PATCH] fix silly bug in drop constraint --- classes/database/Postgres72.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/database/Postgres72.php b/classes/database/Postgres72.php index e825589d..e34e8a4a 100644 --- a/classes/database/Postgres72.php +++ b/classes/database/Postgres72.php @@ -4,7 +4,7 @@ * A class that implements the DB interface for Postgres * Note: This class uses ADODB and returns RecordSets. * - * $Id: Postgres72.php,v 1.39 2003/05/07 06:29:54 chriskl Exp $ + * $Id: Postgres72.php,v 1.40 2003/05/07 06:41:47 chriskl Exp $ */ @@ -137,7 +137,6 @@ class Postgres72 extends Postgres71 { case 'c': // CHECK constraint $sql = "ALTER TABLE \"{$relation}\" DROP CONSTRAINT \"{$constraint}\" RESTRICT"; - if ($cascade) $sql .= " CASCADE"; return $this->execute($sql); break; -- 2.39.5