Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
1.1.0a1
-
None
-
windows 10 x64
-
CPython 3.9.6
Description
The example code:
config = { |
"host": "192.168.1.7", # not the localhost |
"user": "the_user", |
"password": "the_password", |
"database": "the_database" |
}
|
conn_pool = mariadb.ConnectionPool( |
pool_name = 'default', |
pool_size = 10, |
pool_reset_connection = True, |
** config |
)
|
When I use v1.0.7, it works fine. After update to v1.1.0, it crash with:
......
|
File "C:\Users\skyof\repos\Delog\delog\app.py", line 98, in main
|
conn_pool = mariadb.ConnectionPool(
|
File "C:\Users\skyof\repos\Delog\.venv\lib\site-packages\mariadb\connectionpool.py", line 94, in __init__
|
connection= mariadb.Connection(**self._conn_args)
|
File "C:\Users\skyof\repos\Delog\.venv\lib\site-packages\mariadb\__init__.py", line 129, in connect
|
connection= connectionclass(*args, **kwargs)
|
File "C:\Users\skyof\repos\Delog\.venv\lib\site-packages\mariadb\connections.py", line 67, in __init__
|
self.autocommit= autocommit
|
File "C:\Users\skyof\repos\Delog\.venv\lib\site-packages\mariadb\connections.py", line 539, in autocommit
|
if bool(mode) == self.autocommit:
|
File "C:\Users\skyof\repos\Delog\.venv\lib\site-packages\mariadb\connections.py", line 535, in autocommit
|
return bool(self.server_status & STATUS.AUTOCOMMIT)
|
File "C:\Users\skyof\repos\Delog\.venv\lib\site-packages\mariadb\connections.py", line 501, in server_status
|
return self._mariadb_get_info(INFO.SERVER_STATUS, int)
|
mariadb.ProgrammingError: Parameter option not supported
|