From 1ff5f201a91df8850e7bd9bd0300624a26187f66 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Wed, 28 Feb 2001 21:53:42 +0000 Subject: [PATCH] Comment out first drop table in read which breaks pgsql --- addressbook/inc/class.contacts_sql.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addressbook/inc/class.contacts_sql.inc.php b/addressbook/inc/class.contacts_sql.inc.php index 5c30531772..867a90a98a 100644 --- a/addressbook/inc/class.contacts_sql.inc.php +++ b/addressbook/inc/class.contacts_sql.inc.php @@ -371,11 +371,11 @@ $tempcreate = substr($tempcreate,0,-1) . ")"; //echo $tempcreate; - if ($phpgw_info["server"]["db_type"]=="mysql") { - $ifexists = "IF EXISTS"; - } + //if ($phpgw_info["server"]["db_type"]=="mysql") { + // $ifexists = "IF EXISTS"; + //} - $this->db->query("DROP TABLE $ifexists $tmp_table"); + //$this->db->query("DROP TABLE $ifexists $tmp_table"); $this->db->query($tempcreate); for ($i=0;$i