X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fzinfo.c;h=3816e5115581e3602a8ad9cd078377fbd5597c7c;hb=3d6d9a44b38717e7e9a2c64b68db895998d4de82;hp=fc355db4f0497a6a20c9b8697b1838bbb4d04c0a;hpb=09563d8acae53c6479d853e35e3bd53991e880c7;p=idzebra-moved-to-github.git diff --git a/index/zinfo.c b/index/zinfo.c index fc355db..3816e51 100644 --- a/index/zinfo.c +++ b/index/zinfo.c @@ -1,4 +1,4 @@ -/* $Id: zinfo.c,v 1.47 2005-08-05 10:40:13 adam Exp $ +/* $Id: zinfo.c,v 1.48 2005-08-09 12:30:46 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -373,7 +373,7 @@ ZebraExplainInfo zebraExplain_open ( 0, 0, 0, 0, 0, 0); } zdip = &zei->databaseInfo; - trec = rec_get (records, 1); /* get "root" record */ + trec = rec_get_root(records); /* get "root" record */ zei->ordinalSU = 1; zei->runNumber = 0; @@ -1309,7 +1309,7 @@ static void zebraExplain_writeTarget (ZebraExplainInfo zei, int key_flush) return; zei->dirty = 0; - trec = rec_get (zei->records, 1); + trec = rec_get_root(zei->records); xfree (trec->info[recInfo_storeData]); node_tgtinfo = data1_search_tag (zei->dh, zei->data1_target,