Informix - Problem description
Problem IT42794 | Status: Closed |
OPTIMIZING A STATEMENT NEXT AFTER A FAILED PREPARE OF A MULTI-STATEMENT INSERT FAILED IN OPINIT | |
product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
Problem description: | |
When a set of insert statement into different tables is used by a SQL editor GUI, the statements are prepared as a multi statement prepare. Given there is an error during the prepare because of a permission issue and error is returned correctly to the client , but the optimization of the very next statement failed in the optimizer Example insert into tab1 values (); insert into tab1 values (); insert into tab2 values (); -- error -275 insert into tab2 values (); -- error -275 insert into tab1 values (); and so on. All the insert statements are executed in one step. After then another statement is prepared which should run successful but failed in optimization. 0x00000000014ddb8d (oninit) afstack 0x00000000014db549 (oninit) afhandler 0x00000000014d8282 (oninit) affail_interface 0x00000000014e0be4 (oninit) mt_ex_throw_sig 0x00000000014e2570 (oninit) afsig_handler 0x00007fb889156b10 (Linux) 0x000000000084b0ad (oninit) opinit.constprop.82 0x0000000000844024 (oninit) op_opinit 0x0000000000808f6e (oninit) sqoptim 0x0000000000aa766e (oninit) bldstructs 0x0000000000aa74ea (oninit) sqcmd 0x0000000000aa6e1d (oninit) sq_prepare 0x0000000000b93b4e (oninit) sqmain 0x0000000001611759 (oninit) spawn_thread 0x00000000014cac93 (oninit) th_init_initgls 0x00000000015131af (oninit) startup | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 12.10.xC16 and 14.10.xC10. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 12.10.xC16 or 14.10.xC10. * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * Users of Informix Server prior to 12.10.xC16 and 14.10.xC10. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Informix Server 12.10.xC16 or 14.10.xC10. * **************************************************************** | |
Comment | |
Fixed in Informix Server 12.10.xC16 and 14.10.xC10. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 23.12.2022 15.05.2023 21.06.2023 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |