DBZ-7737 Column CON_ID is missing in view V$THREAD in Oracle 11
This commit is contained in:
parent
87bd64db94
commit
499a1f61b8
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user