Informix - Problem description
Problem IT15240 | Status: Closed |
USING AN INDICATOR VARIABLE DECLARED AS A CHAR WILL CAUSE A COREDUMP ON LINUX 64-BIT | |
product: | |
IBM CSDK / 5724C2381 / 410 - CSDK 4.10 | |
Problem description: | |
Indicator variables in esql/c are used to help return data that might be null. In an example and documentation it is recommended to define indicator variables as type short. However the following statement is made in the documentaton: Indicator variables can be any valid host-variable data type except DATETIME or INTERVAL. http://www.ibm.com/support/knowledgecenter/SSGU8G_12.1.0/com.ibm .esqlc.doc/ids_esqlc_0041.htm?lang=en It was recently discovered on Linux that using an indicator variable declared as a char will cause a segmentation violation. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Informix 11.70, 12.10 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * See Problem Conclusion. * **************************************************************** | |
Local Fix: | |
Declare indicator variable as a short | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 11.05.2016 09.12.2016 09.12.2016 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |