projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New test
[idzebra-moved-to-github.git]
/
test
/
api
/
t3.c
diff --git
a/test/api/t3.c
b/test/api/t3.c
index
e22fe94
..
b5b2c8d
100644
(file)
--- a/
test/api/t3.c
+++ b/
test/api/t3.c
@@
-1,4
+1,4
@@
-/* $Id: t3.c,v 1.5 2004-01-22 11:27:22 adam Exp $
+/* $Id: t3.c,v 1.6 2004-06-14 21:43:44 adam Exp $
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
Index Data Aps
@@
-38,9
+38,10
@@
int main(int argc, char **argv)
nmem_init ();
nmem_init ();
- zs = zebra_start("t2.cfg", 0, 0);
+ zs = zebra_start("zebra.cfg", 0, 0);
zh = zebra_open (zs);
zebra_select_database(zh, "Default");
zh = zebra_open (zs);
zebra_select_database(zh, "Default");
+ zebra_init(zh);
zebra_begin_trans (zh, 1);
zebra_add_record (zh, myrec, strlen(myrec));
zebra_begin_trans (zh, 1);
zebra_add_record (zh, myrec, strlen(myrec));