[Schmitzm-commits] r2116 - trunk/schmitzm-db/src/main/java/de/schmitzm/postgres

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 17 13:53:42 CEST 2012


Author: alfonx
Date: 2012-10-17 13:53:42 +0200 (Wed, 17 Oct 2012)
New Revision: 2116

Modified:
   trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java
Log:


Modified: trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java
===================================================================
--- trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java	2012-10-15 18:08:10 UTC (rev 2115)
+++ trunk/schmitzm-db/src/main/java/de/schmitzm/postgres/PGUtil.java	2012-10-17 11:53:42 UTC (rev 2116)
@@ -1055,7 +1055,7 @@
 
 		if (filter == 1)
 			where += "AND current_query != '<IDLE>' ";
-		if (filter == 2)
+		else if (filter == 2)
 			where += "AND current_query not like '<IDLE>%' ";
 
 		if (datName != null)



More information about the Schmitzm-commits mailing list