]> git.llucax.com Git - z.facultad/75.06/emufs.git/blobdiff - emufs/b_plus_test.c
Chau es_hoja..
[z.facultad/75.06/emufs.git] / emufs / b_plus_test.c
index 226e73f088840afd9fec22dda0dbfe81bba50cc9..8680d73461c75ab32d70b16cf1c1c7b26dacc3f8 100644 (file)
@@ -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";