a.binder há 8 anos atrás
pai
commit
96f170a820
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      SE/superedit-STATYSTYKA_TABELE.php

+ 2 - 2
SE/superedit-STATYSTYKA_TABELE.php

@@ -726,9 +726,9 @@ function STATYSTYKA_TABELE() {
 							) as p on   ST_Intersects(p.the_geom,b.the_geom)
 							set b.ID_PROJECT=p.ID where  b.ID_PROJECT<1  ;";
 							
-			$sqlList[] = "	update PROBLEMS_temp as b, PROBLEMS b1 set b1.ID_PROJECT=b.ID_PROJECT where b1.ID=b.ID;
+			$sqlList[] = "	update PROBLEMS_temp as b, PROBLEMS b1 set b1.ID_PROJECT=b.ID_PROJECT where b1.ID=b.ID;";
 							
-							drop table PROBLEMS_temp; ";
+			$sqlList[] = "	drop table IF EXISTS PROBLEMS_temp; ";
 							
 
 		}