Project

General

Profile

« Previous | Next » 

Revision 2810

Added by sgarg over 18 years ago

bugfix so that getlastdocid works for postgres

View differences:

src/edu/ucsb/nceas/metacat/DBUtil.java
357 357
                "SELECT docid, rev " + 
358 358
                "FROM xml_revisions " +
359 359
                "WHERE docid LIKE ?" +
360
            ") GROUP BY docid"
360
            ") subquery GROUP BY docid"
361 361
            );
362 362

  
363 363
      pstmt.setString(1,scope + sep + "%");

Also available in: Unified diff