diff options
author | randomdan <randomdan@localhost> | 2012-03-17 16:09:23 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2012-03-17 16:09:23 +0000 |
commit | e9cef302546b053ee91438cd11bc6d1ff63f883e (patch) | |
tree | 559587eb0376c8145ac03bcc46c4dd837a924da8 | |
parent | Fix date format (diff) | |
download | gentoobrowse-e9cef302546b053ee91438cd11bc6d1ff63f883e.tar.bz2 gentoobrowse-e9cef302546b053ee91438cd11bc6d1ff63f883e.tar.xz gentoobrowse-e9cef302546b053ee91438cd11bc6d1ff63f883e.zip |
Fix for updatewhere not being allowed as an attribute any more
-rw-r--r-- | gentoobrowse/console/fileimport.xml | 4 | ||||
-rw-r--r-- | gentoobrowse/console/packagelicenses.xml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gentoobrowse/console/fileimport.xml b/gentoobrowse/console/fileimport.xml index 4f6604a..6c947dc 100644 --- a/gentoobrowse/console/fileimport.xml +++ b/gentoobrowse/console/fileimport.xml @@ -53,8 +53,8 @@ </columns> </project2:filerows> - <project2:sqlmerge name="loadCacheContent" datasource="postgres" targettable="filecache" - updatewhere="a.fileid IN (SELECT o.fileid FROM files o WHERE o.cachedat IS NULL OR o.cachedat != o.moddate)"> + <project2:sqlmerge name="loadCacheContent" datasource="postgres" targettable="filecache"> + <updatewhere>a.fileid IN (SELECT o.fileid FROM files o WHERE o.cachedat IS NULL OR o.cachedat != o.moddate)</updatewhere> <project2:iterate name="eachOutDatedFile" source="outDatedFiles"> <project2:iterate name="eachFileContent" source="readFileContent"> <project2:sqlmergeinsert name="insertFile"> diff --git a/gentoobrowse/console/packagelicenses.xml b/gentoobrowse/console/packagelicenses.xml index 5cf05e1..09a5dfe 100644 --- a/gentoobrowse/console/packagelicenses.xml +++ b/gentoobrowse/console/packagelicenses.xml @@ -17,8 +17,8 @@ <text /> </columns> </project2:filerows> - <project2:sqlmerge name="update" datasource="postgres" targettable="license" - updatewhere="a.name IN (SELECT o.filename FROM files o WHERE o.cachedat IS NULL OR o.cachedat != o.moddate)"> + <project2:sqlmerge name="update" datasource="postgres" targettable="license"> + <updatewhere>a.name IN (SELECT o.filename FROM files o WHERE o.cachedat IS NULL OR o.cachedat != o.moddate)</updatewhere> <project2:iterate name="show" source="updatedlicenses"> <project2:iterate name="show" source="lic"> <project2:sqlmergeinsert> |