aboutsummaryrefslogtreecommitdiff
path: root/tx.go
diff options
context:
space:
mode:
Diffstat (limited to 'tx.go')
-rw-r--r--tx.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/tx.go b/tx.go
index 09077de..d8ffc08 100644
--- a/tx.go
+++ b/tx.go
@@ -1,7 +1,6 @@
package bolt
import (
- "errors"
"fmt"
"io"
"os"
@@ -10,16 +9,6 @@ import (
"unsafe"
)
-var (
- // ErrTxNotWritable is returned when performing a write operation on a
- // read-only transaction.
- ErrTxNotWritable = errors.New("tx not writable")
-
- // ErrTxClosed is returned when committing or rolling back a transaction
- // that has already been committed or rolled back.
- ErrTxClosed = errors.New("tx closed")
-)
-
// txid represents the internal transaction identifier.
type txid uint64