Merge branch 'master' into main
Conflicts: SConstruct db/btree.h db/db.vcxproj.filters db/dbcommands_admin.cpp db/geo/2d.cpp db/pdfile.cpp dbtests/test.vcxproj.filters
This commit is contained in:
@@ -209,13 +209,13 @@ doneCheckOrder:
|
||||
|
||||
if ( _startOrEndSpec ) {
|
||||
// we are sure to spec _endKeyInclusive
|
||||
return shared_ptr<Cursor>( new BtreeCursor( _d, _idxNo, *_index, _startKey, _endKey, _endKeyInclusive, _direction >= 0 ? 1 : -1 ) );
|
||||
return shared_ptr<Cursor>( BtreeCursor::make( _d, _idxNo, *_index, _startKey, _endKey, _endKeyInclusive, _direction >= 0 ? 1 : -1 ) );
|
||||
}
|
||||
else if ( _index->getSpec().getType() ) {
|
||||
return shared_ptr<Cursor>( new BtreeCursor( _d, _idxNo, *_index, _frv->startKey(), _frv->endKey(), true, _direction >= 0 ? 1 : -1 ) );
|
||||
return shared_ptr<Cursor>( BtreeCursor::make( _d, _idxNo, *_index, _frv->startKey(), _frv->endKey(), true, _direction >= 0 ? 1 : -1 ) );
|
||||
}
|
||||
else {
|
||||
return shared_ptr<Cursor>( new BtreeCursor( _d, _idxNo, *_index, _frv, _direction >= 0 ? 1 : -1 ) );
|
||||
return shared_ptr<Cursor>( BtreeCursor::make( _d, _idxNo, *_index, _frv, _direction >= 0 ? 1 : -1 ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user