diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-02-03 19:07:00 -0800 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-02-06 15:29:38 +0100 |
| commit | f48f671223a20b161ca819cf7d6298e43b8ba5fe (patch) | |
| tree | bc24e2f0ae10a4ffd088141e2681b45173c08b53 /docs | |
| parent | 2d55cb5c4a9c736d04290c9f99ebcbe9e196ac97 (diff) | |
Refs #31233 -- Changed DatabaseWrapper._nodb_connection to _nodb_cursor().
It is now a method instead of a property and returns a context manager
that yields a cursor on entry and closes the cursor and connection upon
exit.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/3.1.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt index 903e2510ba..58fed5080a 100644 --- a/docs/releases/3.1.txt +++ b/docs/releases/3.1.txt @@ -386,6 +386,11 @@ backends. on databases that support time zones. Previously, it was ``None`` on databases that support time zones. +* ``connection._nodb_connection`` property is changed to the + ``connection._nodb_cursor()`` method and now returns a context manager that + yields a cursor and automatically closes the cursor and connection upon + exiting the ``with`` statement. + Dropped support for MariaDB 10.1 -------------------------------- |
