Hi Chris,
There is a bug in Magma tester-cmm.202 which presents the recordSize: from being set.
The current version has an erroneous isNil check which prevents the rcord size from ever begin set to a valid value.
This version works well for us:
MaCollectionIndex >> #recordSize: anInteger "Only set this ONCE, when you create the index."
(MaHashIndex validRecordSizes includes: anInteger) ifTrue: [ recordSize := anInteger ] ifFalse: [ MagmaUserError signal: 'recordSize must be one of ' , MaHashIndex validRecordSizes printString ] !
Regards
Brent
Interesting. I wonder what I was thinking when I did that..
Thanks for letting me know, it'll be fixed.
- Chris
--- Brent Pinkney brent.pinkney@aircom.co.za wrote:
Hi Chris,
There is a bug in Magma tester-cmm.202 which presents the recordSize: from being set.
The current version has an erroneous isNil check which prevents the rcord size from ever begin set to a valid value.
This version works well for us:
MaCollectionIndex >> #recordSize: anInteger "Only set this ONCE, when you create the index."
(MaHashIndex validRecordSizes includes: anInteger) ifTrue: [ recordSize := anInteger ] ifFalse: [ MagmaUserError signal: 'recordSize must be one of ' , MaHashIndex validRecordSizes printString ] !
Regards
Brent
magma@lists.squeakfoundation.org