Informix - Problembeschreibung
| Problem IT07216 | Status: Geschlossen |
MI_GET_RESULTS() RETURNS MI_DDL NOT MI_DML WHEN EXECUTING UPDATE STATISTICS | |
| Produkt: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
| Problembeschreibung: | |
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-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * Informix 11.70, 12.10 * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * See Problem Conclusion * **************************************************************** | |
| Local-Fix: | |
| Lösung | |
The MI_GET_RESULT function returns MI_DDL when an UPDATE STATISTICS statement has completed. | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 18.02.2015 30.12.2015 30.12.2015 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
| Problem behoben lt. FixList in der Version | |
| 12.10.xC6 |
|