File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments