# HG changeset patch # User Felix Wolfsteller # Date 1318505932 0 # Node ID 560d2e6eaf9c0eb26acca354071a261f71a07e53 # Parent f6beb4ffcf23f8bfca153b0d417d4853a6dff7e0 Fix SQL typo. artifacts/trunk@2957 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r f6beb4ffcf23 -r 560d2e6eaf9c ChangeLog --- a/ChangeLog Mon Oct 10 07:40:49 2011 +0000 +++ b/ChangeLog Thu Oct 13 11:38:52 2011 +0000 @@ -1,3 +1,9 @@ +2011-10-13 Felix Wolfsteller + + * artifact-database/src/main/resources/sql/org-h2-driver.properties, + artifact-database/src/main/resources/sql/org-postgresql-driver.properties: + Fix SQL typo. + 2011-10-10 Felix Wolfsteller * artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactCollection.java: diff -r f6beb4ffcf23 -r 560d2e6eaf9c artifact-database/src/main/resources/sql/org-h2-driver.properties --- a/artifact-database/src/main/resources/sql/org-h2-driver.properties Mon Oct 10 07:40:49 2011 +0000 +++ b/artifact-database/src/main/resources/sql/org-h2-driver.properties Thu Oct 13 11:38:52 2011 +0000 @@ -77,7 +77,7 @@ UPDATE artifacts \ SET last_access = DATEADD('MILLISECOND', -2, CURRENT_TIMESTAMP), ttl = 1 \ WHERE id = ? AND \ - NOT EXSITS \ + NOT EXISTS \ (SELECT id FROM collection_items WHERE collection_id <> ? AND artifact_id = ?) collection.item.delete=DELETE FROM collection_items WHERE id = ? diff -r f6beb4ffcf23 -r 560d2e6eaf9c artifact-database/src/main/resources/sql/org-postgresql-driver.properties --- a/artifact-database/src/main/resources/sql/org-postgresql-driver.properties Mon Oct 10 07:40:49 2011 +0000 +++ b/artifact-database/src/main/resources/sql/org-postgresql-driver.properties Thu Oct 13 11:38:52 2011 +0000 @@ -77,7 +77,7 @@ UPDATE artifacts \ SET last_access = CURRENT_TIMESTAMP - '2 milliseconds'::interval, ttl = 1 \ WHERE id = ? AND \ - NOT EXSITS \ + NOT EXISTS \ (SELECT id FROM collection_items WHERE collection_id <> ? AND artifact_id = ?) collection.item.delete=DELETE FROM collection_items WHERE id = ?