mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
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) . ")";
|
$tempcreate = substr($tempcreate,0,-1) . ")";
|
||||||
//echo $tempcreate;
|
//echo $tempcreate;
|
||||||
|
|
||||||
if ($phpgw_info["server"]["db_type"]=="mysql") {
|
//if ($phpgw_info["server"]["db_type"]=="mysql") {
|
||||||
$ifexists = "IF EXISTS";
|
// $ifexists = "IF EXISTS";
|
||||||
}
|
//}
|
||||||
|
|
||||||
$this->db->query("DROP TABLE $ifexists $tmp_table");
|
//$this->db->query("DROP TABLE $ifexists $tmp_table");
|
||||||
$this->db->query($tempcreate);
|
$this->db->query($tempcreate);
|
||||||
|
|
||||||
for ($i=0;$i<count($tempinsert);$i++) {
|
for ($i=0;$i<count($tempinsert);$i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user