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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Aug 31 18:22:47 CEST 2011


Author: alfonx
Date: 2011-08-31 18:22:47 +0200 (Wed, 31 Aug 2011)
New Revision: 1703

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


Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/postgres/PGUtil.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/postgres/PGUtil.java	2011-08-31 16:01:54 UTC (rev 1702)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/postgres/PGUtil.java	2011-08-31 16:22:47 UTC (rev 1703)
@@ -360,7 +360,7 @@
 		Statement s = c.createStatement();
 		
 		if (tableName.contains("."))
-			tableName = tableName.substring(tableName.indexOf("."),tableName.length());
+			tableName = tableName.substring(tableName.indexOf(".")+1,tableName.length());
 
 		List<String> idxes = new ArrayList<String>();
 



More information about the Schmitzm-commits mailing list