Informix - Problem description
| Problem IT07216 | Status: Closed |
MI_GET_RESULTS() RETURNS MI_DDL NOT MI_DML WHEN EXECUTING UPDATE STATISTICS | |
| product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
| Problem description: | |
stcopy("update statistics high for table
tsinstancetable(id)",s);
if((mi_exec(conn,s,MI_QUERY_NORMAL))==MI_ERROR)
MI_DB_ERROR_RAISE(NULL, MI_EXCEPTION, "oni_clobtotable3:
update
statistics for tsinstancetable failed");
if(mi_get_result(conn) != MI_DDL)
ONIERR_002("Failed to update
statistics:tsinstancetable");
it should be MI_DML not MI_DDL
Update statistics is a data manipulation routine and should
return
MI_DML as per the manual not MI_DDL (data definition)
. | |
| Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Informix 11.70, 12.10 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * See Problem Conclusion * **************************************************************** | |
| Local Fix: | |
| Solution | |
The MI_GET_RESULT function returns MI_DDL when an UPDATE STATISTICS statement has completed. | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 18.02.2015 30.12.2015 30.12.2015 |
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 12.10.xC6 |
|