X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft3.c;fp=test%2Fapi%2Ft3.c;h=e22fe9459ea7205a53bda135582ae070fe96a2c0;hb=2a6f64379961f30bfe6376964ce279ab5242da1f;hp=c8808abec1591b8cc2622ed01d42715505900402;hpb=c9c5094f5d94f9e538c4608ace97241ff1c6e10d;p=idzebra-moved-to-github.git diff --git a/test/api/t3.c b/test/api/t3.c index c8808ab..e22fe94 100644 --- a/test/api/t3.c +++ b/test/api/t3.c @@ -1,5 +1,5 @@ -/* $Id: t3.c,v 1.4 2003-06-20 14:21:24 heikki Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 +/* $Id: t3.c,v 1.5 2004-01-22 11:27:22 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps This file is part of the Zebra server. @@ -38,12 +38,12 @@ int main(int argc, char **argv) nmem_init (); - zs = zebra_start("t2.cfg"); + zs = zebra_start("t2.cfg", 0, 0); zh = zebra_open (zs); zebra_select_database(zh, "Default"); zebra_begin_trans (zh, 1); - zebra_record_insert (zh, myrec, strlen(myrec),0); + zebra_add_record (zh, myrec, strlen(myrec)); zebra_end_trans (zh); for (i = 0; i<4; i++)