internalCheckNodeDeep() ;
promote() ;
y.promote() ;
Record splitKey = y.getSplitKey() ;
splitKey = keyRecord(splitKey) ;
if ( logging )
log.debug(format("Split key: %s", splitKey)) ;
BPTreePage z = y.split();
if ( logging )
{
log.debug(format("Split: %s", y)) ;
log.debug(format("Split: %s", z)) ;
}
// Key only.
if ( splitKey.hasSeparateValue() )
{
// [Issue: FREC]
// This creates a empty (null-byte-initialized) value array.
splitKey = params.getKeyFactory().create(splitKey.getKey()) ;
// Better: but an on-disk change. This is key only.
// splitKey = params.getKeyFactory().createKeyOnly(splitKey) ;
}