Skip to content

Commit 69267af

Browse files
committed
Add ORA-56600 (DRCP related error) to drop-session list
1 parent 0e3b1b5 commit 69267af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/dpi/src/dpiConnImpl.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,14 @@
4242
#endif
4343

4444
// Error numbers to set the drop_sess flag in sessionRelease()
45+
// Sessions are in an unusable state and needs to be dropped
4546
#define DPI_CONNERR_INVALID_SESS 22
4647
#define DPI_CONNERR_SESS_KILLED 28
4748
#define DPI_CONNERR_SESS_MARKED_KILL 31
4849
#define DPI_CONNERR_SESS_TERM_NO_REPLY 45
4950
#define DPI_CONNERR_ORA_NOT_LOGGED_ON 1012
5051
#define DPI_CONNERR_MAX_IDLE_TIMEOUT 2396
52+
#define DPI_CONNERR_DRCP_ILLEGAL_CALL 56600
5153

5254
#define DPI_MAX_VERSION_SIZE 512
5355

@@ -559,6 +561,7 @@ void ConnImpl::setErrState ( int errNum )
559561
case DPI_CONNERR_SESS_TERM_NO_REPLY:
560562
case DPI_CONNERR_ORA_NOT_LOGGED_ON:
561563
case DPI_CONNERR_MAX_IDLE_TIMEOUT:
564+
case DPI_CONNERR_DRCP_ILLEGAL_CALL:
562565
dropConn_ = true;
563566
break;
564567

0 commit comments

Comments
 (0)