Skip to content

Commit 067fbc8

Browse files
committed
fixed bug in create_database()
1 parent 5916a75 commit 067fbc8

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/changelog.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
Changelog
33
#########
44

5+
Version 1.1.1
6+
=============
7+
8+
* Fix unregistered bug: `sql_dialect` is used instead `db_sql_dialect` in `create_database`.
9+
* Fix (#2): error when handling input parameters with value None
10+
* Added `Server.mode` attribute to allow fetching service output using LINE or TO_EOF method.
11+
Default mode is TO_EOF.
12+
513
Version 1.1.0
614
=============
715

firebird/driver/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1916,7 +1916,7 @@ def create_database(database: str, *, user: str=None, password: str=None, role:
19161916
dsn = _connect_helper(db_config.dsn.value, srv_config.host.value, srv_config.port.value,
19171917
db_config.database.value, db_config.protocol.value)
19181918
dpb = DPB(user=user, password=password, role=role, trusted_auth=db_config.trusted_auth.value,
1919-
sql_dialect=db_config.sql_dialect.value, timeout=db_config.timeout.value,
1919+
sql_dialect=db_config.db_sql_dialect.value, timeout=db_config.timeout.value,
19201920
charset=charset, cache_size=db_config.cache_size.value,
19211921
no_linger=db_config.no_linger.value, utf8filename=db_config.utf8filename.value,
19221922
no_gc=no_gc, no_db_triggers=no_db_triggers, dbkey_scope=dbkey_scope,

0 commit comments

Comments
 (0)