You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SAVEPOINT / ROLLBACK TO SAVEPOINT / RELEASE SAVEPOINT are not implemented (20101 ... savepoint has not been implemented yet). Prisma uses savepoints internally for nested operations inside interactive transactions, so those flows fail.
Related (already tracked): #23125, #24498, #20287. Filing the Prisma-specific impact and confirming it still reproduces on prod v3.0.11 and 4.0-dev nightly-0bfda604.
Steps to Reproduce
START TRANSACTION;
INSERT INTO t (id) VALUES (1);
SAVEPOINT sp1;
-- ERROR 20101 (HY000): internal error: savepoint has not been implemented yet. please rollback the transaction.
Prisma impact
Top-level $transaction (batch, interactive, isolationLevel, rollback-on-throw) all work. Only savepoint-based nesting (nested writes / nested $transaction within an interactive transaction) is affected.
Expected Behavior
Support SAVEPOINT (MySQL standard) so nested transactional operations can roll back partially.
Found during deep Prisma ORM (v5.22) compatibility testing; reproduced on prod 8.0.30-MatrixOne-v3.0.11 and nightly-0bfda604.
Activity
XuPeng-SH commentedon Jun 2, 2026
backlog
XuPeng-SH commentedon Aug 1, 2026
duplicate with #23125