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 IT08316 Status: Closed

QUERY RETURNS WRONG RESULTS IF STATEMENT CACHE IS ENABLED AND QUERY
CONTAINS SUBSTR FUNCTION AND GROUP BY

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
The following query returns 12 rows, if statement cache is 
disabled and 2401, 2375, 2456, ... rows if statement cache is 
enabled: 
 
select substr(c1,1,3), 
 substr(c2,1,3), 
 substr(c3,1,3), 
 substr(c4,1,3)--, 
-- count(*) 
 from test_substr_lvp 
group by 1,2,3,4 
order by 1 
 
If I remove the group by, it returns 12 rows with/without 
statement cache enabled.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Statement cache with substring function                      * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to 12.10.xC6 or earlier PID if available.            * 
****************************************************************
Local Fix:
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
14.04.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.xC6 FixList