Commit 96da2b58 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d252963a
......@@ -290,11 +290,11 @@ func (e encoding) xuint64Pack(v uint64) interface{} {
}
}
func (e encoding) tidPack(tid zodb.Tid) interface{} {
func (e encoding) Tid(tid zodb.Tid) interface{} {
return e.xuint64Pack(uint64(tid))
}
func (e encoding) oidPack(oid zodb.Oid) interface{} {
func (e encoding) Oid(oid zodb.Oid) interface{} {
return e.xuint64Pack(uint64(oid))
}
......
......@@ -84,7 +84,7 @@ func (z *zeo) Load(ctx context.Context, xid zodb.Xid) (*mem.Buf, zodb.Tid, error
func (z *zeo) _Load(ctx context.Context, xid zodb.Xid) (*mem.Buf, zodb.Tid, error) {
rpc := z.rpc("loadBefore")
enc := z.link.enc
xres, err := rpc.call(ctx, enc.oidPack(xid.Oid), enc.tidPack(xid.At+1)) // XXX at2Before
xres, err := rpc.call(ctx, enc.Oid(xid.Oid), enc.Tid(xid.At+1)) // XXX at2Before
if err != nil {
return nil, 0, err
}
......
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