diff artifact-database/src/main/resources/sql/org-postgresql-driver.properties @ 340:560d2e6eaf9c

Fix SQL typo. artifacts/trunk@2957 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 13 Oct 2011 11:38:52 +0000
parents b46c5b13ac94
children 542caebea773
line wrap: on
line diff
--- 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 = ?

http://dive4elements.wald.intevation.org