Update unit tests to handle MariaDB and MySQL 8 differences.

Review Request #12041 — Created Feb. 4, 2022 and submitted

Information

Django Evolution
release-2.x

Reviewers

We had some tests that worked on MariaDB, and older versions of MySQL,
but failed on MySQL 8.

These tests now check a flag in the database backend for MariaDB, and
conditionalize the expected SQL statements based on this flag.

Unit tests pass for all supported databases.

Summary ID
Update unit tests to handle MariaDB and MySQL 8 differences.
We had some tests that worked on MariaDB, and older versions of MySQL, but failed on MySQL 8. These tests now check a flag in the database backend for MariaDB, and conditionalize the expected SQL statements based on this flag.
de8c3eb6f9c2846d0dae4077bb490e5a404ae001
david
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.x (10e91d3)