diff options
| author | Harm Geerts <hgeerts@osso.nl> | 2021-02-15 14:42:00 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-02-16 13:08:13 +0100 |
| commit | b89ce413f2a95f22788efb01d441f7ab3b506003 (patch) | |
| tree | 9520149c7d1830a3bb880dd5d63a0f7361dbe83a /docs | |
| parent | 65a620948c38c6ac6c7d93e79f70590331bcb2d0 (diff) | |
[3.2.x] Fixed #29052 -- Made test database creation preserve alias order and prefer the "default" database.
This fixes flushing test databases when two aliases point to the same
database.
Use a list() to store the test database aliases so the order remains
stable by following the order of the connections. Also, always use the
"default" database alias as the first alias to accommodate `migrate`.
Previously `migrate` could be executed on a secondary alias which
caused truncating the "default" database.
Backport of 06e5f7ae1639f1e275e7cc1076dc70ca3ebaa946 from master
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
