diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2018-03-07 10:20:19 +0100 |
|---|---|---|
| committer | Tobias Klauser <tobias.klauser@gmail.com> | 2018-03-07 15:42:31 +0000 |
| commit | 06572356602c414b84019693cec7286882aa845e (patch) | |
| tree | e26b6d808af364537a3f5120ad1e71038c426ee0 /src/database/sql/sql.go | |
| parent | 93b0261d0a5e1981679b11b3429226258f925551 (diff) | |
| download | go-06572356602c414b84019693cec7286882aa845e.tar.xz | |
database/sql: fix typo in comment
Change-Id: Ie2966bae1dc2e542c42fb32d8059a4b2d4690014
Reviewed-on: https://go-review.googlesource.com/99115
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
| -rw-r--r-- | src/database/sql/sql.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/sql/sql.go b/src/database/sql/sql.go index 24e906938e..05d15455c0 100644 --- a/src/database/sql/sql.go +++ b/src/database/sql/sql.go @@ -1940,7 +1940,7 @@ func (tx *Tx) closePrepared() { // Commit commits the transaction. func (tx *Tx) Commit() error { // Check context first to avoid transaction leak. - // If put it behind tx.done CompareAndSwap statement, we cant't ensure + // If put it behind tx.done CompareAndSwap statement, we can't ensure // the consistency between tx.done and the real COMMIT operation. select { default: |
