This commit is contained in:
Nuno Cruces
2023-11-08 07:28:48 +00:00
parent c00927e8bb
commit 6f8645cd2e
2 changed files with 87 additions and 1 deletions

View File

@@ -272,7 +272,7 @@ func (c *conn) ExecContext(ctx context.Context, query string, args []driver.Name
if savept, ok := ctx.(*saveptCtx); ok {
// Called from driver.Savepoint.
savept.Savepoint = c.Savepoint()
return resultRowsAffected(-1), nil
return resultRowsAffected(0), nil
}
old := c.Conn.SetInterrupt(ctx)