hass-core/tests/components/recorder
J. Nick Koston 1a82b353e0
Auto repair incorrect collation on MySQL schema (#92270)
* Auto repair incorrect collation on MySQL schema

As we do more union queries in 2023.5.x if there is a mismatch
between collations on tables, they will fail with an error
that is hard for the user to figure out how to fix

`Error executing query: (MySQLdb.OperationalError) (1271, "Illegal mix of collations for operation UNION")`

This was reported in the #beta channel and by PM from others
so the problem is not isolated to a single user

1100908739

* test with ascii since older maraidb versions may not work otherwise

* Revert "test with ascii since older maraidb versions may not work otherwise"

This reverts commit 787fda1aefcd8418a28a8a8f430e7e7232218ef8.t

* older version need to check collation_server because the collation is not reflected if its the default
2023-04-29 21:17:09 -04:00
..
auto_repairs Auto repair incorrect collation on MySQL schema (#92270) 2023-04-29 21:17:09 -04:00
table_managers Rename recorder run_history to table_managers.recorder_runs_manager (#90070) 2023-03-21 18:38:33 -10:00
__init__.py
common.py Add a negative cache to the recorder event type manager (#91770) 2023-04-22 14:09:04 +02:00
db_schema_0.py
db_schema_16.py
db_schema_18.py
db_schema_22.py
db_schema_23.py
db_schema_23_with_newer_columns.py Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
db_schema_25.py Switch to fnv-hash-fast from fnvhash (#90761) 2023-04-05 20:52:23 -04:00
db_schema_28.py Switch to fnv-hash-fast from fnvhash (#90761) 2023-04-05 20:52:23 -04:00
db_schema_30.py Switch to fnv-hash-fast from fnvhash (#90761) 2023-04-05 20:52:23 -04:00
db_schema_32.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_backup.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_entity_registry.py Require a list of entity ids when fetching history (#90992) 2023-04-08 16:14:44 -10:00
test_filters.py Ensure filters are generated inside the lambda locks (#90418) 2023-03-28 20:50:10 +02:00
test_filters_with_entityfilter.py Deduplicate entity_id in the states table (#89557) 2023-03-12 10:01:58 -10:00
test_filters_with_entityfilter_schema_37.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_history.py Reduce number of columns when selecting attributes for history (#91717) 2023-04-22 14:21:08 +02:00
test_history_db_schema_30.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_history_db_schema_32.py Reduce overhead of legacy database columns on new installs (#90246) 2023-04-10 10:08:46 -04:00
test_init.py Dynamically size recorder max backlog based on available memory (#90894) 2023-04-18 12:35:49 +02:00
test_migrate.py Dynamically size recorder max backlog based on available memory (#90894) 2023-04-18 12:35:49 +02:00
test_migration_from_schema_32.py Fix migration with negative event type cache (#91910) 2023-04-23 20:56:17 -04:00
test_models.py Add as_dict cache to Context and Event (#92162) 2023-04-28 21:15:39 +02:00
test_models_legacy.py Avoid multiple round trips to the database for history API calls (#91193) 2023-04-11 22:38:23 -04:00
test_pool.py Add type hints to integration tests (recorder) (#88313) 2023-02-17 18:50:09 +01:00
test_purge.py Add a negative cache to the recorder event type manager (#91770) 2023-04-22 14:09:04 +02:00
test_purge_v32_schema.py Ensure purge can cleanup old format detached states in the database (#92145) 2023-04-28 21:03:59 +02:00
test_statistics.py Improve performance of sums in the energy dashboard (#91342) 2023-04-13 11:52:38 -10:00
test_statistics_v23_migration.py Use tmp_path in recorder tests (#91202) 2023-04-11 09:18:16 +02:00
test_system_health.py Rename recorder run_history to table_managers.recorder_runs_manager (#90070) 2023-03-21 18:38:33 -10:00
test_util.py Speed up sql queries where ORM rows are not needed (#91839) 2023-04-21 23:28:07 -04:00
test_v32_migration.py Use tmp_path in recorder tests (#91202) 2023-04-11 09:18:16 +02:00
test_websocket_api.py Dynamically size recorder max backlog based on available memory (#90894) 2023-04-18 12:35:49 +02:00