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

BSON_VALUE ROUTINES USING SPL COMPOSED KEY NAMES RETURNING NULL (NOT
FINDING TARGET FIELD?)

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
Using bson_value_* routines, e.g. bson_value_int(), within SPL
and with non-literal 'key' parameter can return NULL instead of
existing key's value.

E.g. while 'bson_value_int(data, "age")' would return an age
integer value, doing something like the following might return
NULL:

define key char(20);
let key = "age";
select bson_value_int(data, key) ...

Same with key passed into the SP as a parameter.
Same with key composed using concat operators.
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* 12.10.XCX                                                    *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Update to IBM Informix Server 12.10.XC6                      *
****************************************************************
Local Fix:
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
20.10.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