home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC11 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT07804 Status: Closed

SETTING IFX_FOLDVIEW TO 1 RETURNS WRONG RESULTS FOR SELECT COUNT(DISTINCT)

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
With IFX_FOLDVIEW set to 1, wrong results are returned for a 
select count(distinct) statement.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users of 12.10.xC1 through 12.10.xC5.                        * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* A query involving a UNION ALL view may return incorrect      * 
* results under the following conditions:                      * 
*   - a simple UNION ALL view, with each arm of the view       * 
* having a single table, and no group by, aggregation          * 
*   - main query is selecting form the UNION ALL view, with no * 
* group by                                                     * 
*   - an aggregate with DISTINCT (e.g. count(distinct column)) * 
* in the main query                                            * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Update to IBM Informix Server 12.10.xC6.                     * 
****************************************************************
Local Fix:
Solution
Problem Fixed In IBM Informix Server 12.10.xC6.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
19.03.2015
30.12.2015
30.12.2015
Problem solved at the following versions (IBM BugInfos)
12.10.xC6
Problem solved according to the fixlist(s) of the following version(s)
12.10.xC5.W1 FixList
12.10.xC6 FixList