-
-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
default_tpb with Isolation.SNAPSHOT is used when we do not define a custom tpb. But with this, I can't initialize a tpb without specifying an isolation level.
In the TPB class, the default isolation is SNAPSHOT:
python3-driver/src/firebird/driver/core.py
Line 292 in b40e0d9
isolation: Isolation = Isolation.SNAPSHOT, |
The Connection class also uses the SNAPSHOT type by default:
python3-driver/src/firebird/driver/core.py
Line 1618 in b40e0d9
self.default_tpb: bytes = tpb(Isolation.SNAPSHOT) |
According to the documentation, the server already uses the default SNAPSHOT isolation type:
https://firebirdsql.org/file/documentation/chunk/en/refdocs/fblangref40/fblangref40-transacs.html#fblangref40-transacs-settransac-iso
Metadata
Metadata
Assignees
Labels
No labels