a.binder 8 سال پیش
والد
کامیت
96f170a820
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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; ";
 							
 
 		}