IBM Support

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

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • With IFX_FOLDVIEW set to 1, wrong results are returned for a
    select count(distinct) statement.
    

Local fix

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.                     *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IBM Informix Server 12.10.xC6.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT07804

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-19

  • Closed date

    2015-12-30

  • Last modified date

    2015-12-30

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

  • RC10 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
30 December 2015