andrewleech / fdb_embedded

Fork of firebird fdb driver with bundled firebird embedded libraries. Forked from: svn://svn.code.sf.net/p/firebird/code/python/fdb/trunk
Other
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

gnipi commented 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)

`