Project

General

Profile

« Previous | Next » 

Revision 3735

Added by Jing Tao almost 17 years ago

Use dev=1 replace dev like '1'. since postgres 8.3 doesn't support it.

View differences:

src/edu/ucsb/nceas/metacat/DocumentImpl.java
1713 1713
            sql.append(" server_location, public_access, rev");
1714 1714
            sql.append(" FROM ").append(table);
1715 1715
            sql.append(" WHERE docid LIKE '").append(docid);
1716
            sql.append("' and rev like '").append(revision).append("'");
1716
            sql.append("' and rev = ").append(revision);
1717 1717

  
1718 1718
            pstmt = dbconn.prepareStatement(sql.toString());
1719 1719

  
......
1932 1932
            throw notFound;
1933 1933
        } catch (Exception e) {
1934 1934

  
1935
            logMetacat.error("error in DocumentImpl.getDocumentInfo: "
1935
            logMetacat.error("error in DocumentImpl.getNodeRecordList: "
1936 1936
                    + e.getMessage());
1937 1937
        }
1938 1938
        //System.out.println("in getNodeREcorelist !!!!!!!!!!!3");

Also available in: Unified diff