| java.lang.Object org.apache.derbyTesting.functionTests.tests.store.LogChecksumSetup
All known Subclasses: org.apache.derbyTesting.functionTests.tests.store.LogChecksumRecovery1, org.apache.derbyTesting.functionTests.tests.store.LogChecksumRecovery,
LogChecksumSetup | public class LogChecksumSetup (Code) | | |
Method Summary | |
void | insertAndCorrupt(Connection conn, int rowCount) Insert some rows into the table and corrupt the log for the last row,
so when we recover , there should be one row less even though we committed. | void | logMessage(String str) | public static void | main(String[] argv) | void | updateAndCorrupt(Connection conn, int rowCount) update some rows in the table and corrupt the log for the last row,
so when we recover , All checsum should be correct because corrupted
log transaction should been rolled back. | void | verifyData(Connection conn, int expectedRowCount) |
LogChecksumSetup | LogChecksumSetup()(Code) | | |
insertAndCorrupt | void insertAndCorrupt(Connection conn, int rowCount) throws SQLException(Code) | | Insert some rows into the table and corrupt the log for the last row,
so when we recover , there should be one row less even though we committed.
|
updateAndCorrupt | void updateAndCorrupt(Connection conn, int rowCount) throws SQLException(Code) | | update some rows in the table and corrupt the log for the last row,
so when we recover , All checsum should be correct because corrupted
log transaction should been rolled back.
|
|
|