On 22 October 2011 09:43, Jonathan Kelly <
jonkelly@fastmail.fm> wrote:
> Hi,
>
> I thought I'd ask here first ... I got my BTree code working, so I thought
> I'd try to use it with the Goods DB, but it seems it's only storing and
> recovering the instance variables. My page class is
>
> OrderedCollection variableSubclass: #BTreePageOuter
> � �instanceVariableNames: 'order count'
> � �classVariableNames: ''
> � �poolDictionaries: ''
> � �category: 'BTree'
>
> db := KKDatabase onHost: 'localhost' port: 6543.
> db root: (BTree withOrder: 2).
> db root add: 'O1'.
> db commit.
> db logout.
>
> When I reconnect, instance variables order and count are set, but array
> (from the parent OrderedCollection) is nil.
>
> Jonathan.
> PS... squeaksource was down, so I downloaded the packages from the spanish
> mirror into my local package cache, and loaded them from there. I'm running
> 1.3 on COG (that came from the 1.2.1 single click).
> Package versions are:
> GOODS-cds.137.mcz
> GOODSCollections-cds.1.mcz
> GOODSPlatformSqueak-cds.6.mcz
>
>