changeset 344:be883e843539

Fix accidental corruption of key for sql statement. artifacts/trunk@3040 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 19 Oct 2011 16:13:07 +0000
parents 542caebea773
children 7514fe89efef
files ChangeLog artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 19 15:55:33 2011 +0000
+++ b/ChangeLog	Wed Oct 19 16:13:07 2011 +0000
@@ -1,3 +1,10 @@
+2011-10-19	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Fix accidentally corruptd key to sql statement.
+
+	* artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java:
+	  Fix key.
+
 2011-10-19	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Add backend and db functionality query artifact which is belongs to
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java	Wed Oct 19 15:55:33 2011 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java	Wed Oct 19 16:13:07 2011 +0000
@@ -334,7 +334,7 @@
         SQL_COLLECTIONS_SELECT_GID = sql.get("collections.select.by.gid");
         SQL_COLLECTIONS_CREATION_TIME = sql.get("collection.creation.time");
         SQL_COLLECTIONS_OLDEST_ARTIFACT = sql.get("collections.artifacts.oldest");
-        SQL_COLLECTIONS_ID_BY_GID = sql.get("collections.by.gid");
+        SQL_COLLECTIONS_ID_BY_GID = sql.get("collections.id.by.gid");
         SQL_DELETE_COLLECTION_ITEMS = sql.get("delete.collection.items");
         SQL_DELETE_COLLECTION = sql.get("delete.collection");
         SQL_COLLECTION_CHECK_ARTIFACT = sql.get("collection.check.artifact");

http://dive4elements.wald.intevation.org