From 106a3276f07f52219ccdc2f6279e04eb8e7c5360 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Sun, 1 Mar 2009 22:04:01 +0000 Subject: [PATCH] an appropriate group_by_expression is required for MySQL-5.0. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25755 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Catalog/tests/testERP5Catalog.py | 1 + 1 file changed, 1 insertion(+) diff --git a/product/ERP5Catalog/tests/testERP5Catalog.py b/product/ERP5Catalog/tests/testERP5Catalog.py index ffc661f4c0..c5e1130bf9 100644 --- a/product/ERP5Catalog/tests/testERP5Catalog.py +++ b/product/ERP5Catalog/tests/testERP5Catalog.py @@ -3813,6 +3813,7 @@ VALUES portal_catalog = self.getCatalogTool() res = portal_catalog.searchResults( select_expression='count(DISTINCT catalog.reference) AS count_reference', + group_by_expression='catalog.reference', ) self.assertEquals(1, len(res)) -- 2.30.9