Commit 686b8976 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent bbc76236
...@@ -224,7 +224,7 @@ func (b *Backend) Load(ctx context.Context, xid zodb.Xid) (_ *proto.AnswerObject ...@@ -224,7 +224,7 @@ func (b *Backend) Load(ctx context.Context, xid zodb.Xid) (_ *proto.AnswerObject
if err == sql.ErrNoRows { if err == sql.ErrNoRows {
// nothing found - check whether object exists at all // nothing found - check whether object exists at all
var __ zodb.Oid var __ zodb.Oid
err := b.query1(ctx, err = b.query1(ctx,
"SELECT oid FROM obj WHERE partition=? AND oid=? LIMIT 1", "SELECT oid FROM obj WHERE partition=? AND oid=? LIMIT 1",
pid, xid.Oid) .Scan(&__) pid, xid.Oid) .Scan(&__)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment