mirror of
				https://github.com/django/django.git
				synced 2025-10-29 08:36:09 +00:00 
			
		
		
		
	Fixed #33508 -- Fixed DatabaseFeatures.supports_index_column_ordering on MariaDB 10.8+.
This commit is contained in:
		| @@ -316,10 +316,9 @@ class DatabaseFeatures(BaseDatabaseFeatures): | |||||||
|  |  | ||||||
|     @cached_property |     @cached_property | ||||||
|     def supports_index_column_ordering(self): |     def supports_index_column_ordering(self): | ||||||
|         return ( |         if self.connection.mysql_is_mariadb: | ||||||
|             not self.connection.mysql_is_mariadb |             return self.connection.mysql_version >= (10, 8) | ||||||
|             and self.connection.mysql_version >= (8, 0, 1) |         return self.connection.mysql_version >= (8, 0, 1) | ||||||
|         ) |  | ||||||
|  |  | ||||||
|     @cached_property |     @cached_property | ||||||
|     def supports_expression_indexes(self): |     def supports_expression_indexes(self): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user