X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fmain.c;h=6ca094613acec41d700186e9ed4c3d2c3cbc1727;hb=3726bf6622da6a8b983bb4cbb7d654e84c3216d7;hp=0c9cad865d277760774e01b9246c98fadb8065c7;hpb=795af4e3c7346eff351ff387228ec548956eada8;p=idzebra-moved-to-github.git diff --git a/index/main.c b/index/main.c index 0c9cad8..6ca0946 100644 --- a/index/main.c +++ b/index/main.c @@ -4,7 +4,15 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: main.c,v $ - * Revision 1.66 1999-06-25 13:48:02 adam + * Revision 1.68 1999-07-14 10:59:26 adam + * Changed functions isc_getmethod, isams_getmethod. + * Improved fatal error handling (such as missing EXPLAIN schema). + * + * Revision 1.67 1999/07/06 12:28:04 adam + * Updated record index structure. Format includes version ID. Compression + * algorithm ID is stored for each record block. + * + * Revision 1.66 1999/06/25 13:48:02 adam * Updated MSVC project files. * Added BZIP2 record compression (not very well tested). * @@ -272,7 +280,7 @@ int main (int argc, char **argv) int cmd = 0; char *arg; char *configName = NULL; - int nsections; + int nsections = 0; int disableCommit = 0; size_t mem_max = 0; @@ -425,7 +433,7 @@ int main (int argc, char **argv) bf_cache (rGroupDef.bfs, rval); zebraIndexLockMsg ("r"); } - records = rec_open (rGroupDef.bfs, 0); + records = rec_open (rGroupDef.bfs, 0, 0); rec_prstat (records); rec_close (&records); inv_prstat (rGroupDef.bfs);