mirror of https://github.com/django/django.git
[4.2.x] Refs #34320 -- Skipped SchemaTests.test_rename_field_with_check_to_truncated_name on MariaBD 10.5.2+.
This crashes since MariaDB was bumped to 10.5 on Jenkins.
This commit is contained in:
parent
a148461f1f
commit
fec4ed0a25
|
@ -154,6 +154,21 @@ class DatabaseFeatures(BaseDatabaseFeatures):
|
|||
},
|
||||
}
|
||||
)
|
||||
if self.connection.mysql_is_mariadb and self.connection.mysql_version >= (
|
||||
10,
|
||||
5,
|
||||
2,
|
||||
):
|
||||
skips.update(
|
||||
{
|
||||
"ALTER TABLE ... RENAME COLUMN statement doesn't rename inline "
|
||||
"constraints on MariaDB 10.5.2+, this is fixed in Django 5.0+ "
|
||||
"(#34320).": {
|
||||
"schema.tests.SchemaTests."
|
||||
"test_rename_field_with_check_to_truncated_name",
|
||||
},
|
||||
}
|
||||
)
|
||||
return skips
|
||||
|
||||
@cached_property
|
||||
|
|
Loading…
Reference in New Issue