Informix Error -26078: Rollback to savepoint disallowed on updating an old server in same transaction
Cause and resolution
Rollback to savepoint disallowed on updating an old server in same transaction
Rolling back to a savepoint set within a cross-server transaction is not allowed if a participating server that does not support savepoints is also updated in the same transaction. End the transaction that updated that server, and retry the ROLLBACK TO SAVEPOINT statement.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26078 fires when ROLLBACK TO SAVEPOINT is attempted in a cross-server transaction that
also updated a server not supporting savepoints — per the official guidance.
- A participating server that doesn't support savepoints was also updated in the same transaction, per the official guidance — the direct, only cause; rollback-to-savepoint can't be honored consistently across it.
Solutions / Resolution
- End the transaction that updated the non-supporting server, per the official
guidance, then retry
ROLLBACK TO SAVEPOINT.
Examples
N/A
No specific triggering statement is documented beyond a cross-server transaction updating a savepoint-incapable server.
Diagnostic Checks
- Check which servers were updated in the transaction, and confirm all of them support
savepoints before relying on
ROLLBACK TO SAVEPOINT.
Related Errors / Related Topics
- -26076 — "Unable to rollback to savepoint %s." A related rollback-to-savepoint failure, from a general ISAM-level cause rather than a cross-server savepoint-support restriction.
ROLLBACK TO SAVEPOINT was attempted in a cross-server transaction that also updated a
savepoint-incapable server — end that update first.