suche 36x36
  • Admin-Scout-small-Banner
           

    CURSOR Admin-Scout

    get the ultimate tool for Informix

    pfeil  
Latest versionsfixlist
14.10.xC10 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 IT32597 Status: Closed

QUERY WITH ANSI JOIN AND ANSI OUTER JOIN MAY FAIL IN EVALCOLS /
RDATAVALSMINT

product:
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10
Problem description:
When running a certain query using Ansi Joins and Ansi Outer
Joins with a setting of onmode -wm SQL_FEAT_CTRL2=0 to disable
the setting of 0x4 and a query that looks like this :

SELECT
....

FROM heffingsplichtige2
  JOIN heffingsjaar hj ON 1 = 1
  JOIN heffingspl_ident2 ON heffingspl_ident2.hpl_id =
heffingsplichtige2.hpl_id
  JOIN heffingspl_ident2 fac_hpl ON fac_hpl.hplid_id =
heffingsplichtige2.hplid_id
  left outer join dossier_hefjaar2 doshj
               ON doshj.hpl_id = heffingsplichtige2.hpl_id
              AND doshj.heffingsjaar = hj.heffingsjaar
  left outer join persoon2 p ON heffingsplichtige2.pers_id =
p.pers_id
WHERE heffingspl_ident2.hplid_id = nvl(CAST((SELECT
hplid_hfjr2.hplid_id
                                            FROM hplid_hfjr2
                                              JOIN
heffingspl_ident2
                                                ON
heffingspl_ident2.hplid_id = hplid_hfjr2.hplid_id
                                               AND
heffingspl_ident2.hpl_id = heffingsplichtige2.hpl_id
                                            WHERE
hplid_hfjr2.heffingsjaar = hj.heffingsjaar) AS
INTEGER),heffingsplichtige2.hplid_id)
AND   heffingsplichtige2.hpl_id = 156734
AND   hj.heffingsjaar = 2017

with a certain query plan the server failed with the stack :

0x000000000142e819 (oninit) afstack
0x0000000001432301 (oninit) mt_ex_throw_sig
0x000000000143b453 (oninit) afsig_handler
0x00007fd9b244cb10 (Linux) 
0x00000000013c5c08 (oninit) rdatavalSmint
0x000000000165faec (oninit) ev_column
0x000000000166831e (oninit) new_eval
0x0000000000826db9 (oninit) evalcols
0x0000000000828550 (oninit) getrow
0x0000000000828b58 (oninit) fetchrow
0x00000000005f7b98 (oninit) exfetch
0x0000000000a4682b (oninit) sql_nfetch
0x0000000000a46e9b (oninit) sq_nfetch
0x0000000000b0b641 (oninit) sqmain
0x000000000155d1ab (oninit) spawn_thread
0x0000000001420130 (oninit) th_init_initgls
0x0000000001465c48 (oninit) startup
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC15 and 14.10.xC5.  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 12.10.xC15 (when available) or    *
* 14.10.xC5.                                                   *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix Server prior to 12.10.xC15 and 14.10.xC5.  *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix Server 12.10.xC15 (when available) or    *
* 14.10.xC5.                                                   *
****************************************************************
Comment
Fixed in Informix Server 12.10.xC15 and 14.10.xC5.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
17.04.2020
21.12.2020
21.12.2020
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
Informix EditionsInformix Editions
Informix Editions
DocumentationDocumentation
Documentation
IBM NewsletterIBM Newsletter
IBM Newsletter
Current BugsCurrent Bugs
Current Bugs
Bug ResearchBug Research
Bug Research
Bug FixlistsBug Fixlists
Bug Fixlists
Release NotesRelease Notes
Release Notes
Machine NotesMachine Notes
Machine Notes
Release NewsRelease News
Release News
Product LifecycleProduct Lifecycle
Lifecycle
Media DownloadMedia Download
Media Download