DBZ-7737 Column CON_ID is missing in view V$THREAD in Oracle 11

This commit is contained in:
jchipmunk 2024-04-03 21:58:21 +03:00 committed by Chris Cranford
parent 87bd64db94
commit 499a1f61b8

View File

@ -809,8 +809,10 @@ public RedoThreadState getRedoThreadState() throws SQLException {
threadBuilder = threadBuilder.lastRedoSequenceNumber(rs.getLong("LAST_REDO_SEQUENCE#"))
.lastRedoBlock(rs.getLong("LAST_REDO_BLOCK"))
.lastRedoScn(readScnColumnAsScn(rs, "LAST_REDO_CHANGE#"))
.lastRedoTime(readTimestampAsInstant(rs, "LAST_REDO_TIME"))
.conId(rs.getLong("CON_ID"));
.lastRedoTime(readTimestampAsInstant(rs, "LAST_REDO_TIME"));
}
if (getOracleVersion().getMajor() >= 12) {
threadBuilder = threadBuilder.conId(rs.getLong("CON_ID"));
}
builder = threadBuilder.build();
}