Revision 2810
Added by sgarg almost 19 years ago
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
bugfix so that getlastdocid works for postgres