[Schmitzm-commits] r1742 - trunk/schmitzm-core/src/main/java/de/schmitzm/postgres

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu Sep 29 23:41:36 CEST 2011


Author: mojays
Date: 2011-09-29 23:41:36 +0200 (Thu, 29 Sep 2011)
New Revision: 1742

Modified:
   trunk/schmitzm-core/src/main/java/de/schmitzm/postgres/PGUtil.java
Log:
PGUtil: BugFix schliessende Klammer in SQL-Statements f?\195?\188r Index-Anlage

Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/postgres/PGUtil.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/postgres/PGUtil.java	2011-09-29 19:55:36 UTC (rev 1741)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/postgres/PGUtil.java	2011-09-29 21:41:36 UTC (rev 1742)
@@ -450,7 +450,7 @@
 
 		final String queryString = "CREATE " + (unique ? "UNIQUE " : "") + "INDEX " + idxName + " ON " + tableName
 				+ (type == null ? "" : " USING " + type) + " (" + columns + ") " + "WITH (FILLFACTOR="
-				+ (int) (fillFactor * 100) + (tablespace == null ? "" : " TABLESPACE " + tablespace);
+				+ (int) (fillFactor * 100) + ")" + (tablespace == null ? "" : " TABLESPACE " + tablespace);
 		try {
 			s.execute(queryString);
 			c.commit();



More information about the Schmitzm-commits mailing list