I actually found a way arround this without having to change the
__init__ file. Just open up your connections this way,
import kinterbasdb
customTPB = (
kinterbasdb.isc_tpb_write
+ kinterbasdb.isc_tpb_read_committed
+ kinterbasdb.isc_tpb_rec_version
)
con = kinterbasdb.connect(dsn='host:alias', user='username',
password='password')
con.begin(tpb=customTPB)
cur = con.cursor()
cur.execute('show tables')
con.close()
Reference:
http://www.firebirdsql.org/devel/python/docs/3.3.0/beyond-python-db-api.html
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/369589
Title:
kinterbasdb is not running with Firebird 2.1 database
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs