Default mode for cursor changed:

Due to several incompatibilites (but also MDEV-23768, where errors
can't be triggered in unbuffered) we decided to switch the default
mode for cursor class for buffered from False to True.
This commit is contained in:
Georg Richter
2021-08-05 08:32:20 +02:00
parent 8cd33d55c1
commit 9ac0551ed1
6 changed files with 11 additions and 7 deletions

View File

@ -75,9 +75,10 @@ class Connection(mariadb._mariadb.connection):
Optional parameters:
- buffered= False
- buffered= True
By default the result will be unbuffered, which means before executing
another statement with the same connection the entire result set must be fetched.
Please note that the default was False for MariaDB Connector/Python versions < 1.1.0.
- dictionary= False
Return fetch values as dictionary.