Skip to content

Commit 94bef53

Browse files
Correct default purity.
1 parent 3604bc9 commit 94bef53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/oracledb/impl/thin/messages/auth.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,9 @@ cdef class AuthMessage(Message):
272272
if description.purity == PURITY_DEFAULT \
273273
and self.conn_impl._drcp_enabled:
274274
if self.conn_impl._is_pooled:
275-
self.purity = PURITY_NEW
276-
else:
277275
self.purity = PURITY_SELF
276+
else:
277+
self.purity = PURITY_NEW
278278
else:
279279
self.purity = description.purity
280280

0 commit comments

Comments
 (0)