Comment out first drop table in read which breaks pgsql

This commit is contained in:
Miles Lott 2001-02-28 21:53:42 +00:00
parent e025f87d8c
commit 1ff5f201a9

View File

@ -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<count($tempinsert);$i++) {