(context.Context, string, ...any)
| 1435 | rollbackCalls int |
| 1436 | } |
| 1437 | |
| 1438 | func (e *abortedSelectRecoveryExecutor) QueryContext(context.Context, string, ...any) (RowSet, error) { |
| 1439 | e.queryCalls++ |
| 1440 | if e.queryCalls == 1 { |
| 1441 | return nil, errors.New("TransactionContext Error: Current transaction is aborted (please ROLLBACK)") |
| 1442 | } |
| 1443 | return &staticCountRowSet{count: 1}, nil |
| 1444 | } |
| 1445 | |
| 1446 | func (e *abortedSelectRecoveryExecutor) ExecContext(_ context.Context, query string, _ ...any) (ExecResult, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected