Informix - Problem description
| Problem IT02702 | Status: Closed |
A SELECT STATEMENT FROM A VIEW WITH A SUBSELECT RETURNS ERROR -392 | |
| product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
| Problem description: | |
Running a select against a view that has a correlated subquery
and IFX_FOLDVIEW is enabled (default), might fail with error
-392
392: System error - unexpected null pointer encountered.
Error in line 1
Near character position 52
With a trap enabled for error -392, the following stack is
observed:
11:07:30 Stack for thread: 3037 sqlexec
oninit :: afstack
oninit :: afhandler
oninit :: affail_interface
oninit :: check_traperror
oninit :: sqerr
oninit :: opcsqp
oninit :: op_opinit
oninit :: sqoptim
oninit :: bldstructs
oninit :: sqcmd
oninit :: sq_cmnd
oninit :: sq_prepare
oninit :: sqmain
oninit :: listen_verify
oninit :: spawn_thread
oninit :: th_init_initgls
oninit :: startup | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All users * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to IDS-12.10.xC5 * **************************************************************** | |
| Local Fix: | |
If you disable IFX_FOLDVIEW so the view cannot be folded / merged into the optimized query or you remove the views subquery, the select runs successfully. | |
| Solution | |
Problem Fixed In IDS-12.10.xC5 | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 20.06.2014 16.10.2015 16.10.2015 |
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 12.10.xC4.W1 |
|
| 12.10.xC5 |
|
| 12.10.xC5.W1 |
|