Revision 7367
Added by ben leinfelder over 12 years ago
src/edu/ucsb/nceas/metacat/DocumentImpl.java | ||
---|---|---|
4305 | 4305 |
+ "user_updated, date_created, date_updated, " |
4306 | 4306 |
+ "public_access, server_location, rev, catalog_id, rootnodeid ) " |
4307 | 4307 |
+ "VALUES (?, ?, ?, ?, ?, ?, " |
4308 |
+ "?, ?, ?, ?, ?)"; |
|
4308 |
+ "?, ?, ?, ?, ?, ?)";
|
|
4309 | 4309 |
} |
4310 | 4310 |
else |
4311 | 4311 |
{ |
Also available in: Unified diff
correct the number of prepared statement parameters when inserting to xml_revisions table.
Errors like the following were showing in the replication log file:
knb 20120831-19:42:38: [ERROR]: DocumentImpl.writeReplication - Failed to create access rule for package: john.15950.1 because The column index is out of range: 12, number of columns: 11. [ReplicationLogging]