Fork of firebird fdb driver with bundled firebird embedded libraries. Forked from: svn://svn.code.sf.net/p/firebird/code/python/fdb/trunk
7
stars
3
forks
source link
python 3.5 (maybe not only 3.5) issue with sql request strings #1
Open
gnipi opened 8 years ago
`
Because of string encoding (mixing bytes and str) need to patch fbcore.py: ` @@ -783,7 +783,7 @@ def create_database(sql='', sql_dialect=3, dsn='', user=None, password=None, else: dsn = database
@@ -801,7 +801,9 @@ def create_database(sql='', sql_dialect=3, dsn='', user=None, password=None, trans_handle = isc_tr_handle(0) db_handle = isc_db_handle(0)
xsqlda = xsqlda_factory(1)
For yet unknown reason, the isc_dsql_execute_immediate segfaults when
NULL (None) is passed as XSQLDA, so we provide one here
api.isc_dsql_execute_immediate(isc_status, db_handle, trans_handle, `
`