Revision 1347
Added by Jing Tao almost 22 years ago
src/edu/ucsb/nceas/metacat/DBQuery.java | ||
---|---|---|
299 | 299 |
btBuf.append(") "); |
300 | 300 |
|
301 | 301 |
btBuf.append("and (subject like '"); |
302 |
btBuf.append(docid).append(sep).append(rev).append("'");
|
|
302 |
btBuf.append(docid).append("'"); |
|
303 | 303 |
btBuf.append("or object like '"); |
304 |
btBuf.append(docid).append(sep).append(rev).append("')");
|
|
304 |
btBuf.append(docid).append("')"); |
|
305 | 305 |
|
306 | 306 |
PreparedStatement npstmt = dbconn. |
307 | 307 |
prepareStatement(btBuf.toString()); |
Also available in: Unified diff
Fixed a bug that after finding a non-dataset document, then go back to find dataset document for it in xml_relation table.