b_plus_destruir_nodo(nodo);
nodo = b_plus_leer_nodo(idx,num_node);
prepostkey->clave = nodo->claves[0];
- prepostkey->num_bloque = nodo->hijos[0];
+ prepostkey->num_bloque = nodo->hijos[0];
+ exitcode = 1;
}
- else exitcode = 1; /* No hay mas */
+ else exitcode = -1; /* No hay mas */
}
else {
prepostkey->clave = nodo->claves[i+1];