From 3c2c74f58f9261feaa5ad9dfb596213a654c2e25 Mon Sep 17 00:00:00 2001 From: Adam Chainz Date: Thu, 10 Sep 2015 17:07:09 +0100 Subject: [1.8.x] Fixed #25377 -- Changed Count queries to execute COUNT(*) instead of COUNT('*'). Backport of 3fe3887a2ed94f7b15be769f6d81571031ec5627 from master --- docs/releases/1.8.5.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.5.txt b/docs/releases/1.8.5.txt index 917599447f..1141c2c798 100644 --- a/docs/releases/1.8.5.txt +++ b/docs/releases/1.8.5.txt @@ -32,3 +32,7 @@ Bugfixes * Fixed migrations crash on MySQL when adding a text or a blob field with an unhashable default (:ticket:`25393`). + +* Changed ``Count`` queries to execute ``COUNT(*)`` instead of ``COUNT('*')`` + as versions of Django before 1.8 did (:ticket:`25377`). This may fix a + performance regression on some databases. -- cgit v1.3