Informix Error -12045: Smart Large Objects: Invalid logging mode combination.
Cause and resolution
Smart Large Objects: Invalid logging mode combination.
The smart-large-object create specification contains conflicting flags for the log-mode field. Change the smart-large-object application program so that no more than one logging mode is specified in the smart-large-object create specification. Before you use the create specification, ensure that the create specification has been initialized to the proper default values by using the functions that the database server provides.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-12045 fires when a smart-large-object create specification sets conflicting log-mode flags — per the official guidance.
- More than one logging mode specified in the create specification, per the official guidance — the direct, only cause.
Solutions / Resolution
- Specify no more than one logging mode in the create specification, per the official guidance.
- Ensure the create specification was initialized to proper default values using the database server's provided functions, per the official guidance, before use.
Examples
N/A
No specific triggering statement is documented beyond conflicting log-mode flags.
Diagnostic Checks
- Check the create specification's log-mode field, and confirm only one mode is set, and that it was initialized to defaults first.
Related Errors / Related Topics
- -12038 — "Smart Large Objects: Invalid access time flag combination." The same class of conflicting-flag error, for the access-time field rather than log-mode.
- -12043 — "Smart Large Objects: Invalid create flags." The general form of this same class of conflicting-flag error.
- -12044 — "Smart Large Objects: Invalid integrity type flag combination." The same class of conflicting-flag error, for the integrity field rather than log-mode.
More than one logging mode was specified in the create specification — specify no more than one, and confirm proper initialization first.