go/src/database/sql
Tzu-Chiao Yeh d8044a6744 database/sql: fix TestTxStmtDeadlock test
Drop error check because errors can be
not only ErrTxDone for tx stmt executions,
and the purpose of the test is just reproducing
deadlock.

Fixes #42259

Change-Id: I9e7105ada1403ec7064dcc1c3385b36893a1c195
Reviewed-on: https://go-review.googlesource.com/c/go/+/266097
Reviewed-by: Daniel Theophanes <kardianos@gmail.com>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
Run-TryBot: Emmanuel Odeke <emmanuel@orijtech.com>
TryBot-Result: Go Bot <gobot@golang.org>
2020-10-29 00:19:20 +00:00
..
driver database/sql/driver: use correct method name "Connect" in DriverContext docs 2020-05-30 03:20:54 +00:00
convert.go all: fix typos 2019-09-08 17:28:20 +00:00
convert_test.go all: fix typos 2019-09-08 17:28:20 +00:00
ctxutil.go std: remove unused bits of code all over the place 2019-09-02 12:57:37 +00:00
doc.txt database/sql: fix outdated package name in doc.txt 2017-06-30 19:11:17 +00:00
example_cli_test.go database/sql: add examples for opening and testing a DB pool 2018-11-16 17:17:09 +00:00
example_service_test.go database/sql: add examples for opening and testing a DB pool 2018-11-16 17:17:09 +00:00
example_test.go database/sql: fix incorrect function name in example_test 2020-04-28 14:05:09 +00:00
fakedb_test.go database/sql: prevent Tx statement from committing after rollback 2020-04-20 17:45:50 +00:00
sql.go database/sql: fix tx stmt deadlock when rollback 2020-10-28 16:55:17 +00:00
sql_test.go database/sql: fix TestTxStmtDeadlock test 2020-10-29 00:19:20 +00:00