forked from extern/egroupware
Comment out first drop table in read which breaks pgsql
This commit is contained in:
parent
e025f87d8c
commit
1ff5f201a9
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user