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

.

parent 13dc6ebb
...@@ -450,8 +450,16 @@ type FileStorageIterator struct { ...@@ -450,8 +450,16 @@ type FileStorageIterator struct {
} }
func (fsi *FileStorageIterator) NextTxn(txnInfo *zodb.TxnInfo) (dataIter zodb.IStorageRecordIterator, stop bool, err error) { func (fsi *FileStorageIterator) NextTxn(txnInfo *zodb.TxnInfo) (dataIter zodb.IStorageRecordIterator, stop bool, err error) {
// TODO err = fsi.forwardIter.NextTxn(LoadAll)
return 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 { 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