IC89479: COUNT (*) VS ACTUAL SELECT * RETURNS DIFFERENT RESULTS

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

  • Count(*) vs actual select * returns different results
    .
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of 11.70.xC2 or later.                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A query with aggregation may return incorrect results under  *
    * the following conditions:                                    *
    *  - the query involves one or two tables, and the table where *
    * the aggregation (count, max, min, avg, sum) is being         *
    * performed uses an index scan                                 *
    *  - if two tables are involved, then a nested-loop join is    *
    * used and the table with aggregation is on the inner of the   *
    * nested-loop join                                             *
    *  - all filters in the where clause are used as index filters *
    * (as evidenced by all filters present in LOWER INDEX FILTER   *
    * and/or UPPER INDEX FILTER)                                   *
    *  - one of the index columns is a character column            *
    *  - the value used as index key is longer in length than the  *
    * index column. In case of single table query, a constant with *
    * longer length is used; in case of two tables, the join       *
    * column with longer length is used.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IDS-11.70.xC8                                      *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IDS-11.70.xC8
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC89479

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    B70

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-11

  • Closed date

    2014-02-26

  • Last modified date

    2014-02-26

  • 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

  • RB70 PSN

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

Informix Servers

Software version:

B70

Reference #:

IC89479

Modified date:

2014-02-26

Translate my page

Machine Translation

Content navigation