Project

General

Profile

« Previous | Next » 

Revision 2435

Added by sgarg over 19 years ago

Removed code which entered value for nodedata in xml_index

View differences:

src/edu/ucsb/nceas/metacat/DocumentImpl.java
1348 1348
        // insertions
1349 1349
        PreparedStatement pstmt = conn.prepareStatement(
1350 1350
                "INSERT INTO xml_index (nodeid, path, docid, doctype, " +
1351
                "parentnodeid, nodedata) " + "VALUES (?, ?, ?, ?, ?, ?)");
1351
                "parentnodeid) " + "VALUES (?, ?, ?, ?, ?)");
1352 1352
        // Increase usage count for the connection
1353 1353
        conn.increaseUsageCount(1);
1354 1354
        String familyId = MetaCatUtil.getDocIdFromString(docid);
......
1364 1364
            pstmt.setLong(1, entry.nodeId);
1365 1365
            pstmt.setString(2, entry.path);
1366 1366
            pstmt.setLong(5, entry.parentId);
1367
            pstmt.setString(6, entry.nodedata);
1368 1367
            pstmt.executeUpdate();
1369 1368
        }
1370 1369
        // Close the database statement

Also available in: Unified diff