Commit 8d2589f8 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 13dc6ebb
......@@ -450,8 +450,16 @@ type FileStorageIterator struct {
}
func (fsi *FileStorageIterator) NextTxn(txnInfo *zodb.TxnInfo) (dataIter zodb.IStorageRecordIterator, stop bool, err error) {
// TODO
return
err = fsi.forwardIter.NextTxn(LoadAll)
if err != nil {
return nil, err // XXX recheck
}
*txnInfo = fsi.forwardIter.Txnh.TxnInfo
// TODO set dataIter
return dataIter, nil
}
func (fs *FileStorage) Iterate(tidMin, tidMax zodb.Tid) zodb.IStorageIterator {
......
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