X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/1cded9108ca388be764e0ac32118dca6df540e86..a53aa4647b26ef8543a45f1410f42123717d447f:/emufs/b_plus_test.c diff --git a/emufs/b_plus_test.c b/emufs/b_plus_test.c index 226e73f..8680d73 100644 --- a/emufs/b_plus_test.c +++ b/emufs/b_plus_test.c @@ -8,7 +8,7 @@ INDEX_DAT querydata; /* Creamos un handler EMUFS, luego un Indice B+ y testing... */ INDEXSPECS indice; -indice.tam_bloque = 48; +indice.tam_bloque = SIZE_B_PLUS_HEADER + sizeof(int)*4 + sizeof(int)*5; indice.size_claves = (indice.tam_bloque - SIZE_B_PLUS_HEADER - sizeof(int))/2; indice.size_hijos = indice.size_claves + sizeof(int); indice.filename = "idxbplus_primary.idx";