Informix Error -50982
Cause and resolution
[Informix][Connectivity Class Library]Invalid parameter passed into ixSQLStmt::fetchInto().
The ixRow passed into ixSQLStmt::fetchInto() may be NULL or the length of the ixRow is not the same as the result schema or the data types of the ixValues in the ixRow do not match the result schema. Call ixSQLStmt::allocateRow() and pass the ixRow returned to ixSQLStmt::fetchInto().
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-50982 fires as described in the archived official text: The ixRow passed into ixSQLStmt::fetchInto() may be NULL or the length of the ixRow is not the same as the result schema or the data types of the ixValues in the ixRow do not match the result schema. Call ixSQLStmt::allocateRow() and pass the ixRow returned to ixSQLStmt::fetchInto().
- [Informix][Connectivity Class Library]Invalid parameter passed into ixSQLStmt::fetchInto(), per the archived official text — the direct, named condition.
Solutions / Resolution
- Call
ixSQLConnect::SQLError()for the underlying ODBC error detail, per the archived official text, before trying to resolve this further. - Try a different ODBC driver, per the archived official text, if the error appears driver-specific.
- If the error recurs, note all circumstances and contact Technical Support, per the archived official text.
Examples
N/A
No specific triggering statement is documented beyond the archived official text's own description of this Connectivity Class Library (CCL) condition.
Diagnostic Checks
- Call
ixSQLConnect::SQLError()(or the equivalent for the class involved) to retrieve the underlying driver-level error detail, since the CCL-level message alone is not more specific than what's shown here.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -50982 in this set yet.
[Informix][Connectivity Class Library]Invalid parameter passed into ixSQLStmt::fetchInto(). — per the archived official text, retrieve the ODBC-level error detail via ixSQLConnect::SQLError() before escalating.