mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Fix error check reference in importWorker()
This commit is contained in:
parent
bfe570ef9d
commit
9b83b71c8f
1 changed files with 2 additions and 2 deletions
4
api.go
4
api.go
|
|
@ -378,9 +378,9 @@ func importWorker(importWork chan importJob) {
|
|||
}
|
||||
}
|
||||
|
||||
if err := func() error {
|
||||
if err := func() (err1 error) {
|
||||
tx, finisher := j.qcx.GetTx(Txo{Write: writable, Index: j.field.idx, Shard: j.shard})
|
||||
defer finisher(&err0)
|
||||
defer finisher(&err1)
|
||||
|
||||
var doClear bool
|
||||
switch doAction {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue