Subject | Re: [firebird-python] New Subproject for Firebird Python driver |
---|---|
Author | Philippe Makowski |
Post date | 2008-04-18T12:33:49Z |
Robert Dollinger [08-04-18 13.24] :
for kinterbasdb3.3, you need to patch the __init__.py
just remove line 220 (+ isc_tpb_shared ) :
here my modified __init__.py for kinterbasdb3.3 and Firebird 2.1
# Default transaction parameter buffer:
default_tpb = (
# isc_tpb_version3 is a *purely* infrastructural value. kinterbasdb will
# gracefully handle user-specified TPBs that don't start with
# isc_tpb_version3 (as well as those that do start with it).
isc_tpb_version3
+ isc_tpb_write # Access mode
+ isc_tpb_read_committed + isc_tpb_rec_version # Isolation level
+ isc_tpb_wait # Lock resolution strategy
# + isc_tpb_shared # Table reservation
# access method
)
> PS: Which version of kinterbasdb runs with Firebird 2.1?kinterbasdb 3.2 is ok if you use this __init__.py :
>
for kinterbasdb3.3, you need to patch the __init__.py
just remove line 220 (+ isc_tpb_shared ) :
here my modified __init__.py for kinterbasdb3.3 and Firebird 2.1
# Default transaction parameter buffer:
default_tpb = (
# isc_tpb_version3 is a *purely* infrastructural value. kinterbasdb will
# gracefully handle user-specified TPBs that don't start with
# isc_tpb_version3 (as well as those that do start with it).
isc_tpb_version3
+ isc_tpb_write # Access mode
+ isc_tpb_read_committed + isc_tpb_rec_version # Isolation level
+ isc_tpb_wait # Lock resolution strategy
# + isc_tpb_shared # Table reservation
# access method
)