fwrite (block, 1, header.block_size, fp);
}
void BTree::AddKey (const Clave &k)
{
uint left, right;
fwrite (block, 1, header.block_size, fp);
}
void BTree::AddKey (const Clave &k)
{
uint left, right;
- Clave *kout = AddKeyR (&k, 0, left, right);
+ Clave *kout = AddKeyR (k.Clone (), 0, left, right);
fread (out, 1, header.block_size, fp);
return out;
fread (out, 1, header.block_size, fp);
return out;
node = new uchar[header.block_size];
ReadNodoHeader (node, &nh);
node = new uchar[header.block_size];
ReadNodoHeader (node, &nh);